krishnarajnairmk / im-only-resting

Automatically exported from code.google.com/p/im-only-resting
Apache License 2.0
0 stars 0 forks source link

Cookie header gets corrupted in actual request #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In issue 42 we attempted to allow sending the cookie header in a request, but 
the implementation is flawed: a header like "Cookie: x=23" ends up getting sent 
as "Cookie: Cookie=x=23".

Original issue reported on code.google.com by stephen....@gmail.com on 4 Sep 2014 at 5:19

GoogleCodeExporter commented 9 years ago
Fixed. In our implementation semi-colons are not allowed in cookie values (they 
will be replaced with commas), which is consistent with the cookie spec 
http://tools.ietf.org/html/rfc6265#section-4.2.1

Original comment by stephen....@gmail.com on 4 Sep 2014 at 6:53

GoogleCodeExporter commented 9 years ago

Original comment by stephen....@gmail.com on 7 Sep 2014 at 3:37