From 4b9da5965cd3c8fe93639eddcb8973407f86bbb7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= <essen@ninenines.eu>
Date: Mon, 2 Mar 2020 14:31:02 +0100
Subject: 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.
---
 doc/src/manual/cow_cookie.parse_cookie.asciidoc | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'doc/src/manual/cow_cookie.parse_cookie.asciidoc')

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
-- 
cgit v1.2.3

