Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Request Body Canonicalization specification #149

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

tw4l
Copy link
Member

@tw4l tw4l commented Apr 4, 2024

Fixes #141

This PR adds a new specification for Request Body Canonicalization (sometimes also referred to as POST canonicalization), which describes new consistent behavior between pywb and warcio.js, with fixes to bring them in line to the standard in webrecorder/pywb#893 and webrecorder/warcio.js#68.

The spec is based heavily on the draft specification written by @ato and published in the WARC Specifications repository at http://iipc.github.io/warc-specifications/guidelines/cdx-non-get-requests/.

At this point the description of how AMF bodies are transformed simply points to the pywb codebase and points out that the feature is only in pwyb and is considered experimental.

Perhaps optimistically, I set the publication date to next Monday :)

@tw4l tw4l requested a review from ikreymer April 4, 2024 19:27
@tw4l tw4l assigned tw4l and Shrinks99 and unassigned tw4l Apr 4, 2024
Copy link
Member

@Shrinks99 Shrinks99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No comments on spec content (not qualified), a few copy edits :)

Looks good from here!

request-body-canonicalization/latest/index.md Outdated Show resolved Hide resolved
request-body-canonicalization/latest/index.md Outdated Show resolved Hide resolved
request-body-canonicalization/latest/index.md Outdated Show resolved Hide resolved
request-body-canonicalization/latest/index.md Outdated Show resolved Hide resolved
request-body-canonicalization/latest/index.md Show resolved Hide resolved
tw4l and others added 2 commits April 8, 2024 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New spec: Request body canonicalization
2 participants