/external/python/cpython3/Lib/urllib/ |
error.py | 3 The base exception class is URLError, which inherits from OSError. It 16 __all__ = ['URLError', 'HTTPError', 'ContentTooShortError'] 23 class URLError(OSError): 24 # URLError is a sub-type of OSError, but it doesn't share any of 39 class HTTPError(URLError, urllib.response.addinfourl): 62 # since URLError specifies a .reason attribute, HTTPError should also 77 class ContentTooShortError(URLError): 80 URLError.__init__(self, message)
|
request.py | 20 a Request instance instead of URL. Raises a URLError (subclass of 103 from urllib.error import URLError, HTTPError, ContentTooShortError 177 * getcode() - return the HTTP status code of the response. Raises URLError [all...] |
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/ |
meta.py | 33 except urllib2.URLError:
|
/external/autotest/site_utils/ |
hwid_lib.py | 63 except (urllib2.URLError, urllib2.HTTPError) as e:
|
hwid_lib_unittest.py | 73 @mock.patch('urllib2.urlopen', side_effect=urllib2.URLError('url error'))
|
/external/python/cpython2/Lib/test/ |
test_urllib2net.py | 30 _urlopen_with_retry = _wrap_with_retry_thrice(urllib2.urlopen, urllib2.URLError) 107 None, urllib2.URLError), 119 ('file:///nonsensename/etc/passwd', None, urllib2.URLError), 204 urlopen = _wrap_with_retry_thrice(urlopen, urllib2.URLError) 221 except urllib2.URLError as err:
|
test_urllib2_localnet.py | 388 except urllib2.URLError: 391 # a URLError. 517 except urllib2.URLError, f: 520 self.fail('404 should raise URLError') 572 with self.assertRaises(urllib2.URLError): 584 with self.assertRaises(urllib2.URLError):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_urllib2net.py | 32 _urlopen_with_retry = _wrap_with_retry_thrice(urllib2.urlopen, urllib2.URLError)
123 ('file:///nonsensename/etc/passwd', None, urllib2.URLError),
196 urlopen = _wrap_with_retry_thrice(urlopen, urllib2.URLError)
213 except urllib2.URLError as err:
|
/external/python/cpython3/Lib/test/ |
test_urllib2net.py | 33 urllib.error.URLError) 102 None, urllib.error.URLError), 115 urllib.error.URLError), 207 urlopen = _wrap_with_retry_thrice(urlopen, urllib.error.URLError) 219 # urllib.error.URLError is a subclass of OSError
|
test_urllib2_localnet.py | 383 except urllib.error.URLError: 386 # a URLError. 528 except urllib.error.URLError as f: 532 self.fail("404 should raise URLError") 566 with self.assertRaises(urllib.error.URLError) as cm: 579 with self.assertRaises(urllib.error.URLError) as cm:
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_urllib2net.py | 32 _urlopen_with_retry = _wrap_with_retry_thrice(urllib2.urlopen, urllib2.URLError) 123 ('file:///nonsensename/etc/passwd', None, urllib2.URLError), 208 urlopen = _wrap_with_retry_thrice(urlopen, urllib2.URLError) 225 except urllib2.URLError as err:
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_urllib2net.py | 32 _urlopen_with_retry = _wrap_with_retry_thrice(urllib2.urlopen, urllib2.URLError) 123 ('file:///nonsensename/etc/passwd', None, urllib2.URLError), 208 urlopen = _wrap_with_retry_thrice(urlopen, urllib2.URLError) 225 except urllib2.URLError as err:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_urllib2net.py | 32 _urlopen_with_retry = _wrap_with_retry_thrice(urllib2.urlopen, urllib2.URLError) 123 ('file:///nonsensename/etc/passwd', None, urllib2.URLError), 208 urlopen = _wrap_with_retry_thrice(urlopen, urllib2.URLError) 225 except urllib2.URLError as err:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_urllib2net.py | 32 _urlopen_with_retry = _wrap_with_retry_thrice(urllib2.urlopen, urllib2.URLError) 123 ('file:///nonsensename/etc/passwd', None, urllib2.URLError), 208 urlopen = _wrap_with_retry_thrice(urlopen, urllib2.URLError) 225 except urllib2.URLError as err:
|
/external/boringssl/src/util/bot/ |
update_clang.py | 70 raise urllib2.URLError("only got %d of %d bytes" % 74 except urllib2.URLError as e: 190 except urllib2.URLError:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
urllib2.py | 20 a Request instance instead of URL. Raises a URLError (subclass of
44 URLError -- A subclass of IOError, individual protocols have their own
136 class URLError(IOError):
137 # URLError is a sub-type of IOError, but it doesn't share any of
149 class HTTPError(URLError, addinfourl):
[all...] |
/external/autotest/client/common_lib/ |
file_utils.py | 129 @raises: urllib2.HTTPError or urlib2.URLError exception. Both with added 163 except urllib2.URLError as e: 164 e.msg = (("""URLError raised while retrieving file %s\n.
|
/external/autotest/server/site_tests/provision_AutoUpdate/ |
provision_AutoUpdate.py | 114 except (dev_server.DevServerException, urllib2.URLError) as e2:
|
/external/autotest/site_utils/chromeos_proxy/ |
swarming_bot_manager.py | 95 except urllib2.URLError as e:
|
/external/toolchain-utils/cwp/bartlett/test/ |
server_tester.py | 95 except urllib2.URLError:
|
/external/autotest/tko/ |
retrieve_logs.cgi | 83 except urllib2.URLError:
|
/external/autotest/client/common_lib/cros/ |
chromedriver.py | 212 except urllib2.URLError as e:
|
/external/autotest/tko/perf_upload/ |
perf_uploader.py | 269 except urllib2.URLError as e: 271 'URLError: %s for JSON %s\n' %
|
/external/pdfium/testing/tools/ |
gold.py | 73 except (urllib2.HTTPError, urllib2.URLError) as e:
|
/external/toolchain-utils/cwp/interpreter/ |
app_engine_pull.py | 59 except urllib2.URLError:
|