Author v+python
Recipients amaury.forgeotdarc, barry, eric.araujo, erob, flox, ggenellina, gvanrossum, oopos, pebbe, pitrou, quentel, r.david.murray, tcourbon, tercero12, tobias, v+python, vstinner
Date 2011-01-10.10:13:07
SpamBayes Score 0.000194849
Marked as misclassified No
Message-id <1294654388.49.0.9307733353.issue4953@psf.upfronthosting.co.za>
In-reply-to
Content
I wrote:
Additionally, if there is a CONTENT-LENGTH specified for non-binary data, the read_binary method should be used for it also, because it is much more efficient than readlines... less scanning of the data, and fewer outer iterations.  This goes well with the technique of leaving that data in binary until read from the file.

I further elucidate:
Sadly, while the browser (Firefox) seems to calculate an overall CONTENT-LENGTH for the HTTP headers, it does not seem to calculate CONTENT-LENGTH for individual parts, not even file parts where it would be extremely helpful.
History
Date User Action Args
2011-01-10 10:13:08v+pythonsetrecipients: + v+python, gvanrossum, barry, amaury.forgeotdarc, ggenellina, pitrou, vstinner, eric.araujo, r.david.murray, oopos, tercero12, tcourbon, tobias, flox, pebbe, quentel, erob
2011-01-10 10:13:08v+pythonsetmessageid: <1294654388.49.0.9307733353.issue4953@psf.upfronthosting.co.za>
2011-01-10 10:13:07v+pythonlinkissue4953 messages
2011-01-10 10:13:07v+pythoncreate