On Mar 29, 2007, at 8:56 PM, Ian Bicking wrote: > readline(size) > -------------- > > Currently the specification does not require servers to provide > ``environ['wsgi.input'].readline(size)`` (the size argument in > particular). But ``cgi.FieldStorage`` calls readline this way, so in > effect it is required.
I actually think a minor revision to WSGI should be issued immediately, the only change being that readline(size) is required to be implemented by servers/gateways, and bumping the rev number to 1.1. Leaving the spec as it is is basically a lie. You cannot implement a WSGI server now, without implementing readline(size) and expect apps to work. Adding this is a completely backwards compatible change, and is probably already implemented in most (all?) servers, so it shouldn't be controversial. James _______________________________________________ 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