James Y Knight wrote:
On Jan 25, 2008, at 10:04 AM, Brian Smith wrote:
1. PEP 333 doesn't indicate that the size parameter for the read()
method is optional. Is it optional or required? If it is
optional, is the default value -1?
The spec says it's required (by virtue of not saying
On Jan 25, 2008, at 10:04 AM, Brian Smith wrote:
1. PEP 333 doesn't indicate that the size parameter for the read()
method is optional. Is it optional or required? If it is optional,
is the default value -1?
The spec says it's required (by virtue of not saying it's optional)
2. What are
1. PEP 333 doesn't indicate that the size parameter for the read() method is
optional. Is it optional or required? If it is optional, is the default value
-1?
2. What are the semantics of environ[wsgi.input].read(-1) when Content-Length
is provided? Is it guaranteed to return the entire