httpclient icon indicating copy to clipboard operation
httpclient copied to clipboard

Cookies are added as multiple headers, which is invalid

Open nate-at-gusto opened this issue 2 years ago • 0 comments

When making requests, HTTPClient adds cookies from the cookie manager as multiple cookie headers.

This is invalid according to RFC 6265.

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

Instead, HTTPClient should append cookie values, separated by a semicolon.

nate-at-gusto avatar Mar 29 '22 19:03 nate-at-gusto