[issue5800] make wsgiref.headers.Headers accept empty constructor
Ramiro Batista da Luz
report at bugs.python.org
Sat Nov 20 18:29:03 CET 2010
Ramiro Batista da Luz <ramiroluz at gmail.com> added the comment:
I applied the patches for wsgiref.headers and test_headers.py, ran the test with runtests.sh test_headers.py and it passed.
I also tried the code in the description:
>>> from wsgiref.headers import Headers
>>> headers = Headers()
>>> headers.add_header('Content-Type', 'text/plain')
>>>
----------
nosy: +ramiroluz
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5800>
_______________________________________
More information about the Python-bugs-list
mailing list