Message123044
| 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... |
|