/external/chromium-trace/catapult/third_party/Paste/paste/ |
H A D | proxy.py | 32 from six.moves import http_client as httplib
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
H A D | base_api.py | 14 from six.moves import http_client namespace 558 if http_response.status_code not in (http_client.OK, 559 http_client.NO_CONTENT): 561 if http_response.status_code == http_client.NO_CONTENT:
|
H A D | batch.py | 14 from six.moves import http_client namespace 74 set(retryable_codes + [http_client.UNAUTHORIZED])) 99 self.__http_response.status_code == http_client.UNAUTHORIZED))
|
H A D | batch_test.py | 6 from six.moves import http_client namespace 469 self.assertEqual(http_client.UNAUTHORIZED, 471 self.assertEqual(http_client.OK,
|
H A D | credentials_lib.py | 18 from six.moves import http_client namespace 488 if response.status == http_client.BAD_REQUEST:
|
H A D | credentials_lib_test.py | 5 from six.moves import http_client namespace 18 status = http_client.OK 21 status = http_client.BAD_REQUEST
|
H A D | http_wrapper.py | 16 from six.moves import http_client namespace 38 http_client.MOVED_PERMANENTLY, 39 http_client.FOUND, 40 http_client.SEE_OTHER, 41 http_client.TEMPORARY_REDIRECT, 243 if isinstance(retry_args.exc, (http_client.BadStatusLine, 244 http_client.IncompleteRead, 245 http_client.ResponseNotReady)):
|
H A D | transfer.py | 15 from six.moves import http_client namespace 177 http_client.OK, 178 http_client.NO_CONTENT, 179 http_client.PARTIAL_CONTENT, 180 http_client.REQUESTED_RANGE_NOT_SATISFIABLE, 403 if response.status_code in (http_client.FORBIDDEN, 404 http_client.NOT_FOUND): 408 if response.status_code in (http_client.OK, 409 http_client.PARTIAL_CONTENT): 416 elif response.status_code == http_client [all...] |
H A D | transfer_test.py | 6 from six.moves import http_client namespace 95 'status': http_client.OK, 122 'status': http_client.OK, 157 'status': http_client.PARTIAL_CONTENT, 166 'status': http_client.OK,
|
H A D | util.py | 10 from six.moves import http_client namespace 54 return (o.getcode() == http_client.OK and
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/scripts/ |
H A D | oauth2l_test.py | 10 from six.moves import http_client namespace 28 if self.status_code == http_client.OK: 32 self.info = str(http_client.responses[self.status_code]) 318 response = _FakeResponse(http_client.OK, scopes=scopes) 329 response = _FakeResponse(http_client.OK, scopes=scopes) 338 response = _FakeResponse(http_client.BAD_REQUEST) 347 response = _FakeResponse(http_client.INTERNAL_SERVER_ERROR) 352 self.assertIn(str(http_client.responses[response.status_code]),
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ |
H A D | compat.py | 52 from boto.vendored.six.moves import filter, http_client, map, _thread, \ 53 urllib, zip namespace
|
H A D | connection.py | 64 from boto.compat import six, http_client, urlparse, quote, encodebytes namespace 162 There is a nice state diagram at the top of http_client.py. It 387 class HTTPResponse(http_client.HTTPResponse): 390 http_client.HTTPResponse.__init__(self, *args, **kwargs) 397 http_client.HTTPResponse.read. Instead, if this method is called with 410 self._cached_response = http_client.HTTPResponse.read(self) 413 return http_client.HTTPResponse.read(self, amt) 446 a similar interface to L{http_client.HTTPSConnection}. 505 # define exceptions from http_client that we want to catch and retry 506 self.http_exceptions = (http_client [all...] |
H A D | https_connection.py | 28 from boto.compat import six, http_client namespace 31 class InvalidCertificateException(http_client.HTTPException): 41 http_client.HTTPException.__init__(self) 86 class CertValidatingHTTPSConnection(http_client.HTTPConnection): 89 default_port = http_client.HTTPS_PORT 111 http_client.HTTPConnection.__init__(self, host=host, port=port, **kwargs)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/ |
H A D | test_connection.py | 33 from boto.compat import http_client, six, urlopen, urlsplit namespace 87 con = http_client.HTTPConnection(up.hostname, up.port)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/sns/ |
H A D | test_connection.py | 23 from boto.compat import http_client namespace 56 https = http_client.HTTPConnection
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ |
H A D | __init__.py | 1 from boto.compat import http_client namespace 13 self.https_connection = mock.Mock(spec=http_client.HTTPSConnection) 43 response = mock.Mock(spec=http_client.HTTPResponse)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/ |
H A D | test_file.py | 43 from six.moves import http_client namespace 160 ({'status': str(http_client.UNAUTHORIZED)}, b'Initial token expired'), 161 ({'status': str(http_client.UNAUTHORIZED)}, b'Store token expired'), 162 ({'status': str(http_client.OK)}, 164 ({'status': str(http_client.OK)}, 200 ({'status': str(http_client.UNAUTHORIZED)}, b'Initial token expired'), 201 ({'status': str(http_client.UNAUTHORIZED)}, b'Store token expired'), 202 ({'status': str(http_client.OK)}, 204 ({'status': str(http_client.OK)}, 'echo_request_body')
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
H A D | transport.py | 26 import six.moves.http_client namespace 267 content = six.moves.http_client.responses.get(response.status, 'Unknown Error') 288 if response.status == six.moves.http_client.OK: 313 connection_type = six.moves.http_client.HTTPSConnection 315 connection_type = six.moves.http_client.HTTPConnection
|
H A D | transport_test.py | 19 import six.moves.http_client namespace 253 return six.moves.http_client.HTTPConnection(*args, **kwargs) 255 original_https_connection = six.moves.http_client.HTTPSConnection 256 six.moves.http_client.HTTPSConnection = https_connection 260 six.moves.http_client.HTTPSConnection = original_https_connection 283 original_request = six.moves.http_client.HTTPConnection.request 284 six.moves.http_client.HTTPConnection.request = request_error 295 six.moves.http_client.HTTPConnection.request = original_request 298 self.ResetServer(wsgi_util.error(six.moves.http_client.INTERNAL_SERVER_ERROR, 311 self.ResetServer(wsgi_util.error(six.moves.http_client [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/webapp/ |
H A D | service_handlers.py | 93 import six.moves.http_client namespace 483 response_message = six.moves.http_client.responses.get(code, 'Unknown Error') 565 self.error(six.moves.http_client.UNSUPPORTED_MEDIA_TYPE) 568 self.__send_simple_error(six.moves.http_client.UNSUPPORTED_MEDIA_TYPE, 575 self.error(six.moves.http_client.METHOD_NOT_ALLOWED) 578 self.__send_simple_error(six.moves.http_client.METHOD_NOT_ALLOWED,
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/wsgi/ |
H A D | service.py | 31 import six.moves.http_client namespace 49 _HTTP_BAD_REQUEST = wsgi_util.error(six.moves.http_client.BAD_REQUEST) 50 _HTTP_NOT_FOUND = wsgi_util.error(six.moves.http_client.NOT_FOUND) 51 _HTTP_UNSUPPORTED_MEDIA_TYPE = wsgi_util.error(six.moves.http_client.UNSUPPORTED_MEDIA_TYPE) 101 six.moves.http_client.METHOD_NOT_ALLOWED, 102 six.moves.http_client.responses[six.moves.http_client.METHOD_NOT_ALLOWED], 140 return send_rpc_error(six.moves.http_client.BAD_REQUEST, 151 return send_rpc_error(six.moves.http_client.BAD_REQUEST, 185 return send_rpc_error(six.moves.http_client [all...] |
H A D | util.py | 26 import six.moves.http_client namespace 66 status = '%d %s' % (status, six.moves.http_client.responses.get(status, 'Unknown Error')) 120 status_message = six.moves.http_client.responses.get(status_code, 'Unknown Error') 150 not_found = error(six.moves.http_client.NOT_FOUND) 167 if int(status_code) == six.moves.http_client.NOT_FOUND:
|
H A D | util_test.py | 25 import six.moves.http_client namespace 35 NOT_FOUND = wsgi_util.error(six.moves.http_client.NOT_FOUND) 50 connection = six.moves.http_client.HTTPConnection('localhost', self.port) 206 self.assertEquals(six.moves.http_client.NOT_FOUND, status) 207 self.assertEquals(six.moves.http_client.responses[six.moves.http_client.NOT_FOUND], status_text) 208 self.assertEquals(util.pad_string(six.moves.http_client.responses[six.moves.http_client.NOT_FOUND]), 219 self.assertEquals(six.moves.http_client.OK, status) 220 self.assertEquals(six.moves.http_client [all...] |
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/ |
H A D | inputstream.py | 3 from six.moves import http_client namespace 133 if isinstance(source, http_client.HTTPResponse):
|