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 orsenthil
Recipients gotgenes, orsenthil
Date 2009-12-05.18:26:37
SpamBayes Score 0.00040313994
Marked as misclassified No
Message-id <20091205182621.GA7775@ubuntu.ubuntu-domain>
In-reply-to <1260032326.17.0.135874327566.issue7445@psf.upfronthosting.co.za>
Content
urllib and urllib2, by definition, returns a file-like object which
provides a variety of facilities, most common one being a reading the
object to get the content.

What you are asking for is, to read the content, verify if it matches
the Content-Length header, and raise an exception, if the there is a
mis-match. This facility may not be good idea to implement in library,
while it can be (and should be) taken care by the client which is
using the obj.

I am -1 on this request and would like to close this as 'wont-fix'.
History
Date User Action Args
2009-12-05 18:26:39orsenthilsetrecipients: + orsenthil, gotgenes
2009-12-05 18:26:38orsenthillinkissue7445 messages
2009-12-05 18:26:38orsenthilcreate