[issue5800] make wsgiref.headers.Headers accept empty constructor
Ramiro Batista da Luz
report at bugs.python.org
Thu Nov 25 02:33:04 CET 2010
Ramiro Batista da Luz <ramiroluz at gmail.com> added the comment:
I reviewed the patch.
- I applied all the patchs(3 files).
- Ran make and make html in the Doc directory.
- Ran the test_wsgiref.py
- Ran the python interpreter and typed the suggested code:
>>> from wsgiref.headers import Headers
>>> headers = Headers([])
>>> headers.add_header('Content-Type', 'text/plain')
>>> headers = Headers()
>>> headers.add_header('Content-Type', 'text/plain')
>>>
- Read the documentation in a web browser.
All in the revision 86742.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5800>
_______________________________________
More information about the Python-bugs-list
mailing list