Senthil Kumaran <orsent...@gmail.com> added the comment:

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

----------
nosy: +orsenthil

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7445>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to