Graham Dumpleton wrote:
An application that relies on the server to simulate end-of-file will be a
broken application on some servers. This is not an uncommon problem.
Therefore the validator tests for this case; if you want an application
that actually works consistently, you shouldn't do
environ['wsgi.input'].read().
The validator does not test for that case, that is what I am pointing
out. The validator allows read() to be called with no argument.
Ah, sorry, I wasn't paying attention... okay, then yes, I agree -- the
validator should be more restrictive.
--
Ian Bicking : i...@colorstudy.com : http://blog.ianbicking.org
_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com