-
Notifications
You must be signed in to change notification settings - Fork 9.1k
v3.2: Update Set-Cookie example for recent changes #4903
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
base: v3.2-dev
Are you sure you want to change the base?
Conversation
Changes to our understanding of percent-encoding and headers have made the previous example incorrect. This brings it into agreement with the new recommendations. This also explains how percent-encoding and other escaping is handled, and links to the updated Appendix D which provids more detail including a link to the IETF draft update of the cookie RFC that clarifies this.
``` | ||
In an HTTP message, the serialized example with Expires would look like: | ||
In an HTTP message, the serialized example would look like: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think I understand why the urlSafeData isn't in the following example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error- I will fix.
Co-authored-by: Vincent Biret <[email protected]> Co-authored-by: Karen Etheridge <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll fix the remaining thing soon- I think all suggestions are either accepted or I've replied with why I do not think they should be, at least as part of this PR.
``` | ||
In an HTTP message, the serialized example with Expires would look like: | ||
In an HTTP message, the serialized example would look like: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error- I will fix.
@lornajane I have fixed the example and added a note with further explanation about why this looks different from "Hello, world!" in the cookie input parameter example from PR #4902. @karenetheridge as with the other PR, I will gladly approve a PR changing the formatting for |
Changes to our understanding of percent-encoding and headers have made the previous example incorrect. This brings it into agreement with the new recommendations.
This also explains how percent-encoding and other escaping is handled, and links to the updated Appendix D which provids more detail including a link to the IETF draft update of the cookie RFC that clarifies this.