This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xuanji
Recipients catlee, davide.rizzo, eric.araujo, georg.brandl, jhylton, orsenthil, pitrou, rcoyner, rhettinger, xuanji
Date 2010-12-02.03:08:54
SpamBayes Score 0.0006374032
Marked as misclassified No
Message-id <1291259335.99.0.911022741296.issue3243@psf.upfronthosting.co.za>
In-reply-to
Content
> > 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...
History
Date User Action Args
2010-12-02 03:08:56xuanjisetrecipients: + xuanji, jhylton, georg.brandl, rhettinger, orsenthil, pitrou, catlee, eric.araujo, rcoyner, davide.rizzo
2010-12-02 03:08:55xuanjisetmessageid: <1291259335.99.0.911022741296.issue3243@psf.upfronthosting.co.za>
2010-12-02 03:08:54xuanjilinkissue3243 messages
2010-12-02 03:08:54xuanjicreate