diff options
author | Loïc Hoguin <[email protected]> | 2020-03-02 14:31:02 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-03-06 11:01:21 +0100 |
commit | 4b9da5965cd3c8fe93639eddcb8973407f86bbb7 (patch) | |
tree | 4adbc5e5b128591a25632eec074e6108fb12abcd /doc/src | |
parent | bbb6e57123ca12ad18e88f4a6e28b866afa3ed5a (diff) | |
download | cowlib-4b9da5965cd3c8fe93639eddcb8973407f86bbb7.tar.gz cowlib-4b9da5965cd3c8fe93639eddcb8973407f86bbb7.tar.bz2 cowlib-4b9da5965cd3c8fe93639eddcb8973407f86bbb7.zip |
Add cow_cookie:parse_set_cookie/1
Also do minor fixes to cow_cookie:parse_cookie/1. There
is a potential incompatibility from these changes, because
now a header "Cookie: foo" will be translated to a cookie
with an empty name and value "foo", instead of cookie name
"foo" and empty value. Also cookie names starting with $
are no longer ignored.
These fixes are necessary for the cookies test suite from
Web platform tests to work, and match the upcoming cookie
RFC.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/manual/cow_cookie.parse_cookie.asciidoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/manual/cow_cookie.parse_cookie.asciidoc b/doc/src/manual/cow_cookie.parse_cookie.asciidoc index 0b7393e..2975932 100644 --- a/doc/src/manual/cow_cookie.parse_cookie.asciidoc +++ b/doc/src/manual/cow_cookie.parse_cookie.asciidoc @@ -28,6 +28,10 @@ An exception is thrown in the event of a parse error. == Changelog +* *2.9*: Fixes to the parser may lead to potential incompatibilities. + A cookie name starting with `$` is no longer ignored. + A cookie without a `=` will be parsed as the value of + the cookie named `<<>>` (empty name). * *1.0*: Function introduced. == Examples |