/external/autotest/client/common_lib/cros/fake_device_server/ |
D | registration_tickets.py | 59 raise server_errors.HTTPError(400, 'Unclaimed ticket') 79 raise server_errors.HTTPError(401, 'Missing Authorization.') 84 raise server_errors.HTTPError(400, 'Malformed Authorization field') 90 raise server_errors.HTTPError(403, 'Authorization requires ' 93 raise server_errors.HTTPError(403, 'Wrong access token.') 133 raise server_errors.HTTPError( 139 raise server_errors.HTTPError( 143 raise server_errors.HTTPError( 146 raise server_errors.HTTPError( 173 server_errors.HTTPError(400, 'Missing id for operation') [all …]
|
D | commands.py | 76 raise server_errors.HTTPError( 80 raise server_errors.HTTPError( 84 raise server_errors.HTTPError( 120 raise server_errors.HTTPError(400, 'Unsupported API') 122 raise server_errors.HTTPError( 128 raise server_errors.HTTPError(401, 'Access denied.') 147 raise server_errors.HTTPError( 159 raise server_errors.HTTPError(400, 'Require JSON body')
|
D | server_errors.py | 10 class HTTPError(cherrypy.HTTPError): class 17 cherrypy.HTTPError.__init__(self, status, message)
|
D | common_util.py | 78 raise server_errors.HTTPError( 82 raise server_errors.HTTPError( 87 raise server_errors.HTTPError(
|
D | resource_delegate.py | 48 raise server_errors.HTTPError(400, 'Invalid data key: %r' % (key,)) 71 raise server_errors.HTTPError(400, 'Invalid data key: %r' % (key,)) 111 raise server_errors.HTTPError(400, "Ticket id doesn't match")
|
D | devices.py | 67 raise server_errors.HTTPError(400, 'Empty device resource.') 71 raise server_errors.HTTPError(400, 'Must specify %s' % key) 136 raise server_errors.HTTPError(400, 'Unsupported operation.') 176 raise server_errors.HTTPError(401, 'Access denied.')
|
D | devices_unittest.py | 49 self.assertRaises(server_errors.HTTPError, 60 self.assertRaises(server_errors.HTTPError, 90 self.assertRaises(server_errors.HTTPError,
|
D | commands_unittest.py | 62 self.assertRaises(server_errors.HTTPError, 68 self.assertRaises(server_errors.HTTPError, 84 self.assertRaises(server_errors.HTTPError,
|
D | fail_control.py | 32 raise server_errors.HTTPError(500, 'Instructed to fail this request') 47 raise server_errors.HTTPError(
|
D | resource_method.py | 38 server_errors.HTTPError(400, 'Missing id for operation') 58 server_errors.HTTPError(400, 'Missing id for operation')
|
D | registration_tickets_unittest.py | 48 self.assertRaises(server_errors.HTTPError, 84 self.assertRaises(server_errors.HTTPError, 121 self.assertRaises(server_errors.HTTPError,
|
D | common_util_unittest.py | 77 self.assertRaises(server_errors.HTTPError, 82 self.assertRaises(server_errors.HTTPError,
|
D | resource_method_unittest.py | 62 self.assertRaises(server_errors.HTTPError,
|
/external/openscreen/tools/ |
D | curlish.py | 13 from urllib2 import HTTPError, URLError, urlopen 15 from urllib.error import HTTPError, URLError 32 except HTTPError as e:
|
/external/python/cpython3/Doc/library/ |
D | urllib.error.rst | 34 .. exception:: HTTPError 37 :exc:`HTTPError` can also function as a non-exceptional file-like return 55 :exc:`HTTPError`.
|
/external/oss-fuzz/infra/cifuzz/ |
D | clusterfuzz_deployment.py | 89 except urllib.error.HTTPError: 166 except urllib.error.HTTPError:
|
/external/tensorflow/tensorflow/python/tpu/client/ |
D | client.py | 31 from six.moves.urllib.error import HTTPError 322 except HTTPError as e: 406 except HTTPError as e:
|
/external/rust/crates/grpcio-sys/grpc/tools/release/ |
D | release_notes.py | 101 from urllib2 import Request, urlopen, HTTPError 104 from urllib.request import Request, urlopen, HTTPError 112 except HTTPError as e:
|
/external/python/cpython2/Doc/howto/ |
D | urllib2.rst | 191 :exc:`HTTPError` is the subclass of :exc:`URLError` raised in the specific case of 212 HTTPError section in Handling Exceptions 220 urlopen will raise an :exc:`HTTPError`. Typical errors include '404' (page not 225 The :exc:`HTTPError` instance raised will have an integer 'code' attribute, which 308 *and* an error page. You can use the :exc:`HTTPError` instance as a response on the 315 ... except urllib2.HTTPError as e: 330 So if you want to be prepared for :exc:`HTTPError` *or* :exc:`URLError` there are two 339 from urllib2 import Request, urlopen, URLError, HTTPError 343 except HTTPError as e: 355 The ``except HTTPError`` *must* come first, otherwise ``except URLError`` [all …]
|
/external/python/cpython3/Lib/distutils/command/ |
D | upload.py | 12 from urllib.request import urlopen, Request, HTTPError 197 except HTTPError as e:
|
/external/python/cpython2/Lib/distutils/command/ |
D | upload.py | 7 from urllib2 import urlopen, Request, HTTPError 184 except HTTPError, e:
|
/external/autotest/tko/ |
D | jsonp_fetcher.cgi | 28 except urllib2.HTTPError:
|
/external/python/cpython3/Doc/howto/ |
D | urllib2.rst | 208 :exc:`HTTPError` is the subclass of :exc:`URLError` raised in the specific case of 231 HTTPError section in Handling Exceptions 239 urlopen will raise an :exc:`HTTPError`. Typical errors include '404' (page not 244 The :exc:`HTTPError` instance raised will have an integer 'code' attribute, which 327 *and* an error page. You can use the :exc:`HTTPError` instance as a response on the 334 ... except urllib.error.HTTPError as e: 348 So if you want to be prepared for :exc:`HTTPError` *or* :exc:`URLError` there are two 358 from urllib.error import URLError, HTTPError 362 except HTTPError as e: 374 The ``except HTTPError`` *must* come first, otherwise ``except URLError`` [all …]
|
/external/python/setuptools/setuptools/tests/ |
D | test_packageindex.py | 35 assert isinstance(v, urllib.error.HTTPError) 51 assert isinstance(v, urllib.error.HTTPError)
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_upload.py | 5 from urllib.request import HTTPError 203 (HTTPError('url', 400, 'httperror', {}, None),
|