-
Notifications
You must be signed in to change notification settings - Fork 387
Closed
Labels
contributions-welcomeContributions welcome to help resolve this (the resolution is expected to be clear from the issue)Contributions welcome to help resolve this (the resolution is expected to be clear from the issue)type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
Originally opened as dart-lang/sdk#21802
This issue was originally filed by [email protected]
Package http represents request headers as a Map<string, string>, both in requests as well as in responses. That does not work for repeating headers, In that case one needs to fold them into a single string. Which is not always practical or possible.
What steps will reproduce the problem?
The most problematic header is Set-Cookie since the concatenation of multiple cookies into one string is tricky to parse.
Please provide any additional information below.
Some browsers and libraries e.g. http.cookies in Python can deal with folded Set-Cookie headers.
RFC 6265 says "don't do that" (section 3)
Awnage, yannayl, alex-misch, fragaLY, RedHatter and 9 more
Metadata
Metadata
Assignees
Labels
contributions-welcomeContributions welcome to help resolve this (the resolution is expected to be clear from the issue)Contributions welcome to help resolve this (the resolution is expected to be clear from the issue)type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)