Home
last modified time | relevance | path

Searched refs:HTTPError (Results 1 – 25 of 49) sorted by relevance

12

/external/autotest/client/common_lib/cros/fake_device_server/
Dregistration_tickets.py59 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 …]
Dcommands.py76 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')
Dserver_errors.py10 class HTTPError(cherrypy.HTTPError): class
17 cherrypy.HTTPError.__init__(self, status, message)
Dcommon_util.py78 raise server_errors.HTTPError(
82 raise server_errors.HTTPError(
87 raise server_errors.HTTPError(
Dresource_delegate.py48 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")
Ddevices.py67 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.')
Ddevices_unittest.py51 self.assertRaises(server_errors.HTTPError,
62 self.assertRaises(server_errors.HTTPError,
92 self.assertRaises(server_errors.HTTPError,
Dcommands_unittest.py64 self.assertRaises(server_errors.HTTPError,
70 self.assertRaises(server_errors.HTTPError,
86 self.assertRaises(server_errors.HTTPError,
Dfail_control.py32 raise server_errors.HTTPError(500, 'Instructed to fail this request')
47 raise server_errors.HTTPError(
Dresource_method.py38 server_errors.HTTPError(400, 'Missing id for operation')
58 server_errors.HTTPError(400, 'Missing id for operation')
Dregistration_tickets_unittest.py49 self.assertRaises(server_errors.HTTPError,
86 self.assertRaises(server_errors.HTTPError,
127 self.assertRaises(server_errors.HTTPError,
Dcommon_util_unittest.py77 self.assertRaises(server_errors.HTTPError,
82 self.assertRaises(server_errors.HTTPError,
Doauth.py100 raise server_errors.HTTPError(
Dresource_method_unittest.py67 self.assertRaises(server_errors.HTTPError,
/external/chromium-trace/catapult/third_party/Paste/tests/test_exceptions/
Dtest_httpexceptions.py86 assert not isinstance(redirect,HTTPError)
89 assert isinstance(notfound,HTTPError)
94 assert isinstance(notimpl,HTTPError)
/external/chromium-trace/catapult/experimental/buildbot/
Dbuildbot.py38 except (urllib2.HTTPError, socket.error):
42 except (urllib2.HTTPError, socket.error):
378 except (urllib2.HTTPError, socket.error):
382 except (urllib2.HTTPError, socket.error):
418 except (urllib2.HTTPError, socket.error):
422 except (urllib2.HTTPError, socket.error):
/external/chromium-trace/catapult/third_party/Paste/tests/test_auth/
Dtest_auth_digest.py63 from six.moves.urllib.error import HTTPError
88 except HTTPError as e:
/external/chromium-trace/catapult/third_party/Paste/paste/
Dhttpexceptions.py274 class HTTPError(HTTPException): class
413 class HTTPClientError(HTTPError):
547 class HTTPServerError(HTTPError):
/external/autotest/tko/
Djsonp_fetcher.cgi28 except urllib2.HTTPError:
/external/chromium-trace/catapult/third_party/WebOb/webob/
Dexc.py341 class HTTPError(WSGIHTTPException): class
604 class HTTPClientError(HTTPError):
986 class HTTPServerError(HTTPError):
/external/chromium-trace/catapult/third_party/Paste/docs/modules/
Dhttpexceptions.txt16 .. autoexception:: HTTPError
/external/chromium-trace/catapult/third_party/WebOb/docs/modules/
Dexceptions.txt11 .. autoexception:: HTTPError
/external/skia/platform_tools/android/bin/
Dhttp_download.py83 except urllib2.HTTPError, e:
/external/google-breakpad/src/testing/gtest/scripts/
Dupload.py115 class ClientLoginError(urllib2.HTTPError):
119 urllib2.HTTPError.__init__(self, url, code, msg, headers, None)
206 except urllib2.HTTPError, e:
231 except urllib2.HTTPError, e:
235 raise urllib2.HTTPError(req.get_full_url(), response.code, response.msg,
330 except urllib2.HTTPError, e:
/external/google-breakpad/src/testing/scripts/
Dupload.py115 class ClientLoginError(urllib2.HTTPError):
119 urllib2.HTTPError.__init__(self, url, code, msg, headers, None)
206 except urllib2.HTTPError, e:
231 except urllib2.HTTPError, e:
235 raise urllib2.HTTPError(req.get_full_url(), response.code, response.msg,
330 except urllib2.HTTPError, e:

12