Re: [Web-SIG] wsgiref.validate allows wsgi.input.read() with no argument

2008-12-12 Thread Manlio Perillo
Graham Dumpleton ha scritto: Just noticed that although WSGI PEP doesn't specifically mention that argument to read() on wsgi.input is optional, wsgiref.validate allows calling read() with no argument. wsgiref.validate makes also other assumptions about a WSGI application that are not

Re: [Web-SIG] wsgiref.validate allows wsgi.input.read() with no argument

2008-12-12 Thread Ian Bicking
Graham Dumpleton wrote: Just noticed that although WSGI PEP doesn't specifically mention that argument to read() on wsgi.input is optional, wsgiref.validate allows calling read() with no argument. From wsgiref.validate: * That wsgi.input is used properly: - .read() is called with zero or

Re: [Web-SIG] wsgiref.validate allows wsgi.input.read() with no argument

2008-12-12 Thread Graham Dumpleton
2008/12/13 Ian Bicking i...@colorstudy.com: Graham Dumpleton wrote: Just noticed that although WSGI PEP doesn't specifically mention that argument to read() on wsgi.input is optional, wsgiref.validate allows calling read() with no argument. From wsgiref.validate: * That wsgi.input is