qhttp icon indicating copy to clipboard operation
qhttp copied to clipboard

Support multiple Set-Cookie headers as described in RFC 6265

Open sebastian-philipp opened this issue 8 years ago • 0 comments

Hi,

from RFC-6265 3. Overview:

  1. Overview

[...] An origin server can include multiple Set-Cookie header fields in a single response. [...]

Origin servers SHOULD NOT fold multiple Set-Cookie header fields into a single header field. The usual mechanism for folding HTTP headers fields (i.e., as defined in [RFC2616]) might change the semantics of the Set-Cookie header field because the %x2C (",") character is used by Set-Cookie in a way that conflicts with such folding.

It looks like the current THeaderHash implementation cannot cope with multiple Set-Cookie headers at the moment.

Sebastian

sebastian-philipp avatar Mar 21 '16 11:03 sebastian-philipp