[Web-SIG] Multiple message-header fields handling
Manlio Perillo
manlio_perillo at libero.it
Wed Oct 3 13:35:16 CEST 2007
Manlio Perillo ha scritto:
> Phillip J. Eby ha scritto:
>> [...]
>>> 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.
>> On the contrary. The gateway is responsible for sending *all* the
>> header lines to the client. If you're only taking the last one, your
>> gateway is non-compliant.
>>
>
> You are right, sorry.
> I forgot that start_application returns a list, and not a dict.
>
> The current implementation of mod_wsgi is compliant here, and the
> headers are combined.
>
A correction: Nginx does not "folds" the multiline headers, they where
folded by Firefox.
Regards Manlio Perillo
More information about the Web-SIG
mailing list