[issue18610] wsgiref.validate expects wsgi.input read to give exactly one arg

Robin Schoonover report at bugs.python.org
Tue Feb 17 18:55:47 CET 2015


Robin Schoonover added the comment:

I'm not sure I follow, as it has little to say on whether the application's expected behavior here, and only a recommendation that the server allow it.  But, it also defers to the "Python Standard Library", which does have an opinion.  I feel that (in hindsight) the exact behavior of each method should have been specified in full.

*However*, even if I differ on the reading of the spec, on general principle (and this has changed since I first wrote the issue) I agree that the application should not be omitting it anyway, because reading the entire response at once without checking the content length is dangerous.

----------

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


More information about the Python-bugs-list mailing list