[New-bugs-announce] [issue7445] urllib2 (and urllib) should raise error for incomplete response
Chris Lasher
report at bugs.python.org
Sat Dec 5 17:58:46 CET 2009
New submission from Chris Lasher <chris.lasher at gmail.com>:
This question is motivated by a question on Stack Overflow:
http://stackoverflow.com/questions/1824069/urllib2-not-retrieving-entire-http-response
In the event the user receives an incomplete response when using urllib2
(and urllib), the library should raise an error to indicate the response
is incomplete. This is a matter of checking if the Content-Length
defined in the header matches the size of the retrieved response. While
this can be done by the user, an exception will help alert the more
unwitting, such as myself, by failing early.
----------
components: Library (Lib)
messages: 95995
nosy: gotgenes
severity: normal
status: open
title: urllib2 (and urllib) should raise error for incomplete response
type: behavior
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7445>
_______________________________________
More information about the New-bugs-announce
mailing list