List Info

Thread: hop-by-hop headers handling




hop-by-hop headers handling
user name
2007-10-01 10:47:49
Hi, I have another question with error handling.

The WSGI spec only says that applications *must* not
generate hop-by-hop
headers, but says nothing on how a WSGI server should handle
them.

In the previous version of nginx mod_wsgi I just ignored
these headers,
but in the latest revisions, I raise an exception.



Thanks   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

Re: hop-by-hop headers handling
country flaguser name
United States
2007-10-02 14:45:29
At 05:47 PM 10/1/2007 +0200, Manlio Perillo wrote:
>Hi, I have another question with error handling.
>
>The WSGI spec only says that applications *must* not
generate hop-by-hop
>headers, but says nothing on how a WSGI server should
handle them.
>
>In the previous version of nginx mod_wsgi I just ignored
these headers,
>but in the latest revisions, I raise an exception.

Raising an exception is indeed preferable.

_______________________________________________
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-2]

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