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

Ian Bicking ianb at colorstudy.com
Thu Dec 15 20:59:25 CET 2005


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), but they block 
without it, or if you read past CONTENT_LENGTH.  So it should probably 
be required in the spec, since it's required in practice.

-- 
Ian Bicking  /  ianb at colorstudy.com  /  http://blog.ianbicking.org


More information about the Web-SIG mailing list