[New-bugs-announce] [issue11968] wsgiref's wsgi application sample code does not work

Takayuki SHIMIZUKAWA report at bugs.python.org
Sun May 1 07:56:24 CEST 2011


New submission from Takayuki SHIMIZUKAWA <shimizukawa at gmail.com>:

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 at python
components: Documentation
messages: 134900
nosy: docs at python, shimizukawa
priority: normal
severity: normal
status: open
title: wsgiref's wsgi application sample code does not work
versions: Python 3.2

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


More information about the New-bugs-announce mailing list