Message179377
@joel.verhagen
"Should HTTPResponse.getheaders() comma-separate the values (...)"
No, it should not. RFC 2616 states:
"Multiple message-header fields with the same field-name MAY be present in a message if and only if the entire field-value for that header field is defined as a comma-separated list [i.e., #(values)]."
As field-values for some header fields ('Set-Cookie' being an example) are not defined as a comma-separated list such fields must not be merged.
Side note:
RFC 2616 is very soon to be obsoleted by the new RFC from httpbin working group. However, in the current/newest draft (http://trac.tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-21#section-3.2) although wording is different the sense is the same. |
|
Date |
User |
Action |
Args |
2013-01-08 22:02:10 | piotr.dobrogost | set | recipients:
+ piotr.dobrogost, jhylton, barry, georg.brandl, beazley, jjlee, orsenthil, ajaksu2, bmiller, ezio.melotti, eric.araujo, srid, petri.lehtinen, joel.verhagen |
2013-01-08 22:02:10 | piotr.dobrogost | set | messageid: <1357682530.61.0.509745759312.issue4773@psf.upfronthosting.co.za> |
2013-01-08 22:02:10 | piotr.dobrogost | link | issue4773 messages |
2013-01-08 22:02:10 | piotr.dobrogost | create | |
|