swifter icon indicating copy to clipboard operation
swifter copied to clipboard

How to respond with multiple Set-Cookie header?

Open SolaWing opened this issue 7 years ago • 1 comments

according to https://tools.ietf.org/html/rfc6265#section-3

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

I can use raw to set headers, but header dictionary override old Set-Cookie key

SolaWing avatar Dec 03 '18 07:12 SolaWing

Any updates on this? Shouldn't the type for the response header be [(String, String)]? instead of [String : String]? ?

inigo333 avatar Mar 07 '19 09:03 inigo333