[Web-SIG] Multiple message-header fields handling
Manlio Perillo
manlio_perillo at libero.it
Tue Oct 2 23:35:51 CEST 2007
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.
> [...]
Regards Manlio Perillo
More information about the Web-SIG
mailing list