List Info

Thread: Re: Multiple message-header fields handling




Re: Multiple message-header fields handling
user name
2007-10-03 06:35:16
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
_______________________________________________
Web-SIG mailing list
Web-SIGpython.org
Web SIG: http://www.python.
org/sigs/web-sig
Unsubscribe: http://mail.python.org/mailman/options/web-sig/bo
nd%40yahoo.com

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )