Searched refs:ContentTooShortError (Results 1 – 11 of 11) sorted by relevance
73 class ContentTooShortError(URLError): class
102 from urllib.error import URLError, HTTPError, ContentTooShortError286 raise ContentTooShortError(1832 raise ContentTooShortError(
59 .. exception:: ContentTooShortError(msg, content)
1362 :func:`urlretrieve` will raise :exc:`ContentTooShortError` when it detects that
519 self.assertRaises(urllib.ContentTooShortError, urllib.urlretrieve,535 … self.assertRaises(urllib.ContentTooShortError, urllib.urlretrieve, 'http://example.com/')
114 class ContentTooShortError(IOError): class288 raise ContentTooShortError("retrieval incomplete: got only %i out "
713 with self.assertRaises(urllib.error.ContentTooShortError):730 with self.assertRaises(urllib.error.ContentTooShortError):
183 :func:`urlretrieve` will raise :exc:`ContentTooShortError` when it detects that436 .. exception:: ContentTooShortError(msg[, content])
740 * :exc:`py2:urllib.ContentTooShortError`
738 Fix urlretrieve function to raise ContentTooShortError even when reporthook
9079 - Issue #10817: Fix urlretrieve function to raise ContentTooShortError even