Xuanji Li <[email protected]> added the comment:
> > 2) Can call len but not buffer: assume len == #bytes
> Why do you need it at all?
Hmm, I'm looking at the the tests in urllib2 that fail if we omit this... in
test_urllib2 there are tests that do this:
req = Request("http://example.com/", "")
and they expect Content-Length to be set to 0...
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue3243>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com