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

Multiple COOKIE headers are not allowed by RFC 6265 #111

Open
paolovolpi opened this issue Feb 29, 2016 · 0 comments
Open

Multiple COOKIE headers are not allowed by RFC 6265 #111

paolovolpi opened this issue Feb 29, 2016 · 0 comments

Comments

@paolovolpi
Copy link

Method Request::append_cookie_headers add multiple COOKIE headers to a request while having more then one cookie set but this is not allowed by RFC 6265.:

5.4. The Cookie Header

When the user agent generates an HTTP request, the user agent MUST
NOT attach more than one Cookie header field.

The correct behavior would be to set a single COOKIE header with the following syntax:

4.2.1. Syntax
cookie-header = "Cookie:" OWS cookie-string OWS
cookie-string = cookie-pair *( ";" SP cookie-pair )

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

No branches or pull requests

1 participant