Home
last modified time | relevance | path

Searched refs:httplib (Results 1 – 25 of 58) sorted by relevance

123

/external/chromium-trace/catapult/perf_insights/third_party/cloudstorage/
Derrors.py34 import httplib
127 if status == httplib.UNAUTHORIZED:
129 elif status == httplib.FORBIDDEN:
131 elif status == httplib.NOT_FOUND:
133 elif status == httplib.REQUEST_TIMEOUT:
135 elif status == httplib.REQUESTED_RANGE_NOT_SATISFIABLE:
137 elif (status == httplib.OK and 308 in expected and
138 httplib.OK not in expected):
Dapi_utils.py24 import httplib
110 return (resp.status_code == httplib.REQUEST_TIMEOUT or
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
Ddevtools_http.py6 import httplib
43 self._conn = httplib.HTTPConnection(host_port, timeout=timeout)
44 except (socket.error, httplib.HTTPException) as e:
54 except (socket.error, httplib.HTTPException) as e:
90 except (socket.error, httplib.HTTPException) as e:
/external/autotest/server/cros/
Dgoofy_client.py6 import httplib
153 @retry.retry((httplib.BadStatusLine, socket.error),
171 @retry_goofy_rpc((httplib.BadStatusLine, socket.error),
232 except httplib.BadStatusLine:
236 @retry_goofy_rpc((httplib.BadStatusLine, socket.error),
280 @retry_goofy_rpc((httplib.BadStatusLine, socket.error),
296 @retry_goofy_rpc((httplib.BadStatusLine, socket.error),
394 @retry_goofy_rpc((httplib.BadStatusLine, socket.error),
Dsonic_client_utils.py8 import httplib
37 RPC_EXCEPTIONS = (httplib.BadStatusLine, socket.error, urllib2.HTTPError)
/external/chromium-trace/catapult/third_party/WebOb/webob/
Dclient.py5 import httplib
7 import http.client as httplib namespace
35 def __init__(self, HTTPConnection=httplib.HTTPConnection,
36 HTTPSConnection=httplib.HTTPSConnection):
172 httplib.HTTPConnection, httplib.HTTPSConnection): # pragma: no cover
/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dgcs_json_media.py21 import httplib
206 orig_response = httplib.HTTPConnection.getresponse(self)
207 if orig_response.status not in (httplib.OK, httplib.PARTIAL_CONTENT):
423 except httplib.HTTPException:
428 except (socket.error, httplib.HTTPException):
492 except httplib.HTTPException:
499 except (socket.error, httplib.HTTPException):
508 if response.status in (httplib.OK, httplib.PARTIAL_CONTENT):
/external/owasp/sanitizer/tools/
Dgooglecode_upload.py51 import httplib
98 server = httplib.HTTPSConnection(upload_host)
198 if status in [httplib.FORBIDDEN, httplib.UNAUTHORIZED]:
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
Dhttpclient.py19 import httplib
108 class DetailedHTTPResponse(httplib.HTTPResponse):
145 raise httplib.IncompleteRead(''.join(chunks))
174 class DetailedHTTPConnection(httplib.HTTPConnection):
184 class DetailedHTTPSConnection(httplib.HTTPSConnection):
191 httplib.HTTPSConnection.__init__(
194 httplib.HTTPSConnection.__init__(self, host=host, port=port)
Dhttpproxy_test.py18 import httplib
109 conn = httplib.HTTPConnection('localhost', 8889, timeout=10)
137 conn = httplib.HTTPConnection('localhost', 8889, timeout=10)
176 conn = httplib.HTTPConnection('localhost', 8889, timeout=10)
/external/chromium-trace/catapult/third_party/Paste/paste/
Dproxy.py32 from six.moves import http_client as httplib unknown
74 ConnClass = httplib.HTTPConnection
76 ConnClass = httplib.HTTPSConnection
192 ConnClass = httplib.HTTPConnection
194 ConnClass = httplib.HTTPSConnection
/external/chromium-trace/catapult/devil/devil/android/
Dports.py9 import httplib
160 with contextlib.closing(httplib.HTTPConnection(
172 except (httplib.HTTPException, socket.error) as e:
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/scripts/
Doauth2l.py37 import httplib
149 if response.status_code not in [httplib.OK, httplib.BAD_REQUEST]:
151 if response.status_code == httplib.BAD_REQUEST:
/external/autotest/server/cros/multimedia/
Dremote_facade_factory.py5 import httplib
96 httplib.BadStatusLine):
119 httplib.BadStatusLine),
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/
D__init__.py36 import httplib
91 return httplib.FakeSocket(sock, ssl_sock)
129 raise httplib.ResponseNotReady()
132 if not hasattr(httplib.HTTPResponse, 'getheaders'):
133 httplib.HTTPResponse.getheaders = HTTPResponse__getheaders
849 class HTTPConnectionWithTimeout(httplib.HTTPConnection):
860 httplib.HTTPConnection.__init__(self, host, port, strict)
915 class HTTPSConnectionWithTimeout(httplib.HTTPSConnection):
927 httplib.HTTPSConnection.__init__(self, host, port=port,
1092 class AppEngineHttpConnection(httplib.HTTPConnection):
[all …]
/external/autotest/server/cros/faft/
Drpc_proxy.py5 import httplib
75 httplib.BadStatusLine,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
Dresumable_download_handler.py22 import httplib
95 RETRYABLE_EXCEPTIONS = (httplib.HTTPException, IOError, socket.error,
344 except httplib.IncompleteRead:
/external/v8/tools/release/
Dcheck_clusterfuzz.py18 import httplib
153 conn = httplib.HTTPSConnection(HOSTNAME)
/external/autotest/server/hosts/
Drpc_server_tracker.py5 import httplib
151 httplib.BadStatusLine),
/external/autotest/site_utils/
Dphapi_lib.py10 import httplib
106 httplib.BadStatusLine) as e:
127 httplib.BadStatusLine) as e:
Dbrillo_aue2e_test.py6 import httplib
122 except (urllib2.HTTPError, httplib.HTTPException, urllib2.URLError) as e:
/external/icu/tools/
Dupdate-tzdata.py7 import httplib
155 http = httplib.HTTPConnection('www.iana.org')
/external/autotest/client/site_tests/firmware_TouchMTB/
Dauthenticator.py8 import httplib
140 conn = httplib.HTTPConnection('localhost:%s' % self.port)
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
Dbase_handler.py24 import httplib
168 self.response.set_status(httplib.SERVICE_UNAVAILABLE, "Retry task")
/external/autotest/tko/perf_upload/
Dperf_uploader.py16 import httplib, json, math, os, re, urllib, urllib2
345 except httplib.HTTPException:

123