Lines Matching refs:status
41 https://developers.google.com/storage/docs/reference-status#standardcodes
95 def check_status(status, expected, path, headers=None,
97 """Check HTTP response status is expected.
100 status: HTTP response status. int.
114 if status in expected:
117 msg = ('Expect status %r from Google Storage. But got status %d.\n'
122 (expected, status, path, headers, resp_headers, extras))
124 if status == httplib.UNAUTHORIZED:
126 elif status == httplib.FORBIDDEN:
128 elif status == httplib.NOT_FOUND:
130 elif status == httplib.REQUEST_TIMEOUT:
132 elif status == httplib.REQUESTED_RANGE_NOT_SATISFIABLE:
134 elif (status == httplib.OK and 308 in expected and
137 elif status >= 500: