OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HTTPError
(Results
1 - 25
of
67
) sorted by null
1
2
3
/external/autotest/client/common_lib/cros/fake_device_server/
server_errors.py
10
class
HTTPError
(cherrypy.
HTTPError
):
17
cherrypy.
HTTPError
.__init__(self, status, message)
commands.py
76
raise server_errors.
HTTPError
(
80
raise server_errors.
HTTPError
(
84
raise server_errors.
HTTPError
(
112
server_errors.
HTTPError
if the device doesn't exist.
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')
registration_tickets.py
59
raise server_errors.
HTTPError
(400, 'Unclaimed ticket')
75
server_errors.
HTTPError
if there is an authorization error.
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.')
104
server_errors.
HTTPError
if the ticket doesn't exist.
122
server_errors.
HTTPError
if the ticket should exist but doesn't
133
raise server_errors.
HTTPError
(
139
raise server_errors.
HTTPError
(
[
all
...]
fail_control.py
25
If instructed to fail, this method raises an
HTTPError
32
raise server_errors.
HTTPError
(500, 'Instructed to fail this request')
47
raise server_errors.
HTTPError
(
common_util.py
69
server_error.
HTTPError
if combination or args/kwargs doesn't make
78
raise server_errors.
HTTPError
(
82
raise server_errors.
HTTPError
(
87
raise server_errors.
HTTPError
(
resource_delegate.py
40
server_errors.
HTTPError
if the data_val doesn't exist.
48
raise server_errors.
HTTPError
(400, 'Invalid data key: %r' % (key,))
64
server_errors.
HTTPError
if the data_val doesn't exist.
71
raise server_errors.
HTTPError
(400, 'Invalid data key: %r' % (key,))
87
server_errors.
HTTPError
if the id is non-None and not in self._data.
111
raise server_errors.
HTTPError
(400, "Ticket id doesn't match")
resource_method.py
34
server_errors.
HTTPError
if the resource doesn't exist.
38
server_errors.
HTTPError
(400, 'Missing id for operation')
54
server_errors.
HTTPError
if the resource doesn't exist.
58
server_errors.
HTTPError
(400, 'Missing id for operation')
commands_unittest.py
64
self.assertRaises(server_errors.
HTTPError
,
70
self.assertRaises(server_errors.
HTTPError
,
86
self.assertRaises(server_errors.
HTTPError
,
devices_unittest.py
51
self.assertRaises(server_errors.
HTTPError
,
62
self.assertRaises(server_errors.
HTTPError
,
92
self.assertRaises(server_errors.
HTTPError
,
devices.py
67
raise server_errors.
HTTPError
(400, 'Empty device resource.')
71
raise server_errors.
HTTPError
(400, 'Must specify %s' % key)
86
@raises server_errors.
HTTPError
: if the config is missing a required key
106
server_errors.
HTTPError
if the device doesn't exist.
136
raise server_errors.
HTTPError
(400, 'Unsupported operation.')
176
raise server_errors.
HTTPError
(401, 'Access denied.')
195
server_errors.
HTTPError
if the device doesn't exist.
registration_tickets_unittest.py
49
self.assertRaises(server_errors.
HTTPError
,
86
self.assertRaises(server_errors.
HTTPError
,
127
self.assertRaises(server_errors.
HTTPError
,
common_util_unittest.py
77
self.assertRaises(server_errors.
HTTPError
,
82
self.assertRaises(server_errors.
HTTPError
,
oauth.py
100
raise server_errors.
HTTPError
(
resource_method_unittest.py
67
self.assertRaises(server_errors.
HTTPError
,
/external/autotest/tko/
jsonp_fetcher.cgi
28
except urllib2.
HTTPError
:
/tools/test/connectivity/acts/framework/acts/
jsonrpc.py
24
class
HTTPError
(Exception):
100
HTTPError
: Raised if the http post return code is not 200.
110
raise
HTTPError
(text)
/external/autotest/site_utils/
hwid_lib.py
63
except (urllib2.URLError, urllib2.
HTTPError
) as e:
/prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_robotparser.py
3
from urllib2 import urlopen,
HTTPError
243
except
HTTPError
as e:
/prebuilts/gdb/linux-x86/lib/python2.7/test/
test_robotparser.py
3
from urllib2 import urlopen,
HTTPError
243
except
HTTPError
as e:
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_robotparser.py
3
from urllib2 import urlopen,
HTTPError
243
except
HTTPError
as e:
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_robotparser.py
3
from urllib2 import urlopen,
HTTPError
243
except
HTTPError
as e:
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/
client_lib_test.py
129
except urllib2.
HTTPError
as e:
130
print 'Received an
HTTPError
exception!!!'
/external/autotest/client/common_lib/
file_utils.py
127
@raises: urllib2.
HTTPError
or urlib2.URLError exception. Both with added
154
except urllib2.
HTTPError
as e:
155
e.msg = (("""
HTTPError
raised while retrieving file %s\n.
/external/autotest/client/cros/ui/
ui_test_base.py
106
except urllib2.
HTTPError
as e:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
upload.py
7
from urllib2 import urlopen, Request,
HTTPError
185
except
HTTPError
, e:
Completed in 1849 milliseconds
1
2
3