[issue12455] urllib2 forces title() on header names, breaking some requests

karl report at bugs.python.org
Sun Mar 3 05:33:23 CET 2013


karl added the comment:

tests in http://hg.python.org/cpython/file/886df716cd09/Lib/test/test_wsgiref.py#l370 also checking that everything is case insensitive. 

And the method to get the headers in wsgiref, make sure they are lower-case
http://hg.python.org/cpython/file/886df716cd09/Lib/wsgiref/headers.py#l82

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12455>
_______________________________________


More information about the Python-bugs-list mailing list