croservices / cro-http

HTTP (including HTTPS and HTTP/2) support for the Cro library for building distributed systems in Raku.
https://cro.services/
Artistic License 2.0
49 stars 26 forks source link

Fix a misunderstanding of BNF syntax 4 years ago #157

Closed Altai-man closed 2 years ago

Altai-man commented 3 years ago

The cookie values are allowed to be wrapped in doublequotes, not in parentheses, d'uh.

See https://www.rfc-editor.org/rfc/pdfrfc/rfc6265.txt.pdf The rule looks like:

 cookie-value      = *cookie-octet / ( DQUOTE *cookie-octet DQUOTE )
jnthn commented 3 years ago

Looks fine, but a test to cover this would be a good idea too.