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-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com