New submission from Takayuki SHIMIZUKAWA <[email protected]>:
WSGI sapmle code at wsgiref document
(http://docs.python.org/py3k/library/wsgiref.html#wsgiref.util.setup_testing_defaults)
was broken.
- status = b'200 OK'
- headers = [(b'Content-type', b'text/plain; charset=utf-8')]
+ status = '200 OK'
+ headers = [('Content-type', 'text/plain; charset=utf-8')]
----------
assignee: docs@python
components: Documentation
messages: 134900
nosy: docs@python, shimizukawa
priority: normal
severity: normal
status: open
title: wsgiref's wsgi application sample code does not work
versions: Python 3.2
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue11968>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com