[New-bugs-announce] [issue18610] wsgiref.validator expects wsgi.input read to give exactly one arg

Robin Schoonover report at bugs.python.org
Thu Aug 1 00:48:21 CEST 2013


New submission from Robin Schoonover:

wsgiref.validator requires wsgi.input's read to always give EXACTLY one argument. This is incorrect.

It's own documentation says:
* That wsgi.input is used properly:
  - .read() is called with zero or one argument

PEP3333 says:
A server should allow read() to be called without an argument, and return the remainder of the client's input stream.

----------
components: Library (Lib)
files: wsgiref.patch
keywords: patch
messages: 194027
nosy: Robin.Schoonover
priority: normal
severity: normal
status: open
title: wsgiref.validator expects wsgi.input read to give exactly one arg
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file31106/wsgiref.patch

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


More information about the New-bugs-announce mailing list