[Web-SIG] Multiple message-header fields handling

Manlio Perillo manlio_perillo at libero.it
Tue Oct 2 22:27:12 CEST 2007

Robert Brewer ha scritto:
 > [...]
> As you note, it's part of the HTTP spec that such headers
> can be combined without changing the semantics. Here's a list of the
> headers that need to be folded:
> comma_separated_headers = ['ACCEPT', 'ACCEPT-CHARSET', 'ACCEPT-ENCODING',

Note that some of these headers are response headers, and it is 
responsibility of the WSGI application to properly folding them, and not 
of the WSGI gateway.

> The only tricky one is Cookie, because e.g. Konqueror sends them on
> multiple lines, but they're not foldable.
> See http://kristol.org/cookie/errata.html

This is a mess...

Note: in some tests, I have seen Firefox sending a Cookie on multiple lines.

 > [...]

Thanks and regards   Manlio Perillo

More information about the Web-SIG mailing list