Re: [Web-SIG] Is the size argument to the input-stream read method optional?

2005-12-28 Thread James Y Knight
On Dec 28, 2005, at 1:14 PM, Ian Bicking wrote: >> Surely that's a bug in the server, not the spec? Indeterminate >> length uploads (with transfer-encoding chunked) are allowed by >> HTTP, after all. The CGI spec explicitly rejects such requests, >> but WSGI doesn't seem to. >> > > But wh

Re: [Web-SIG] Is the size argument to the input-stream read method optional?

2005-12-28 Thread Ian Bicking
James Y Knight wrote: The PEP is unclear on this and should be clarified, IMO. >>> >>> >>> My experience in using implementations is many servers do not require >>> the read size argument (they don't give a TypeError), but they block >>> without it, or if you read past CONTENT_LENGTH. So

Re: [Web-SIG] Is the size argument to the input-stream read method optional?

2005-12-28 Thread James Y Knight
On Dec 21, 2005, at 10:20 AM, Jim Fulton wrote: > Ian Bicking wrote: > >> Jim Fulton wrote: >> >> >>> The PEP is unclear on this and should be clarified, IMO. >>> >> >> >> My experience in using implementations is many servers do not require >> the read size argument (they don't give a TypeError)