/external/python/cpython2/Lib/test/ |
D | test_httplib.py | 1 import httplib 39 raise httplib.UnimplementedFileMode() 104 conn = httplib.HTTPConnection('example.com') 132 conn = httplib.HTTPConnection('example.com') 148 conn = httplib.HTTPConnection('example.com') 161 conn = httplib.HTTPConnection('example.com') 172 conn = httplib.HTTPConnection('example.com') 182 conn = httplib.HTTPConnection('example.com') 220 conn = httplib.HTTPConnection('[2001::]:81') 228 conn = httplib.HTTPConnection('[2001:102A::]') [all …]
|
D | test_urllib.py | 5 import httplib 44 class FakeHTTPConnection(httplib.HTTPConnection): 59 assert httplib.HTTP._connection_class == httplib.HTTPConnection 61 httplib.HTTP._connection_class = fakehttp(fakedata) 64 httplib.HTTP._connection_class = httplib.HTTPConnection 336 fakehttp_wrapper = httplib.HTTP._connection_class 353 fakehttp_wrapper = httplib.HTTP._connection_class
|
D | test_docxmlrpc.py | 2 import httplib 67 self.client = httplib.HTTPConnection("localhost:%d" % PORT)
|
D | test_urllib2net.py | 75 import httplib 85 self.assertIs(httpresponse.__class__, httplib.HTTPResponse)
|
D | test_urllib2.py | 11 import httplib 428 name = httplib.responses[self.code] 1043 real_class = httplib.HTTPConnection 1045 httplib.HTTPConnection = test_urllib.fakehttp(response1) 1046 self.addCleanup(setattr, httplib, "HTTPConnection", real_class) 1053 httplib.HTTPConnection.request = request
|
D | test_normalization.py | 4 from httplib import HTTPException
|
/external/python/oauth2client/tests/contrib/ |
D | test_flask_util.py | 24 import six.moves.http_client as httplib namespace 40 def __init__(self, status=httplib.OK, **kwargs): 255 self.assertEqual(response.status_code, httplib.FOUND) 273 self.assertEqual(response.status_code, httplib.BAD_REQUEST) 288 self.assertEqual(response.status_code, httplib.BAD_REQUEST) 293 self.assertEqual(response.status_code, httplib.BAD_REQUEST) 299 with Http2Mock(status=httplib.INTERNAL_SERVER_ERROR): 302 self.assertEqual(response.status_code, httplib.BAD_REQUEST) 312 self.assertEqual(response.status_code, httplib.BAD_REQUEST) 326 self.assertEqual(response.status_code, httplib.BAD_REQUEST) [all …]
|
/external/autotest/server/cros/ |
D | goofy_client.py | 6 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),
|
D | sonic_client_utils.py | 8 import httplib 37 RPC_EXCEPTIONS = (httplib.BadStatusLine, socket.error, urllib2.HTTPError)
|
/external/python/oauth2client/oauth2client/contrib/ |
D | flask_util.py | 183 import six.moves.http_client as httplib namespace 394 httplib.BAD_REQUEST) 401 return 'Invalid request', httplib.BAD_REQUEST 408 return 'Invalid request state', httplib.BAD_REQUEST 411 return 'Invalid request state', httplib.BAD_REQUEST 416 return 'Invalid request state', httplib.BAD_REQUEST 424 return content, httplib.BAD_REQUEST
|
/external/owasp/sanitizer/tools/ |
D | googlecode_upload.py | 51 import httplib 98 server = httplib.HTTPSConnection(upload_host) 198 if status in [httplib.FORBIDDEN, httplib.UNAUTHORIZED]:
|
/external/python/cpython2/Doc/library/ |
D | httplib.rst | 1 :mod:`httplib` --- HTTP protocol client 4 .. module:: httplib 8 The :mod:`httplib` module has been renamed to :mod:`http.client` in Python 15 single: HTTP; httplib (standard module) 19 **Source code:** :source:`Lib/httplib.py` 64 >>> h1 = httplib.HTTPConnection('www.cwi.nl') 65 >>> h2 = httplib.HTTPConnection('www.cwi.nl:80') 66 >>> h3 = httplib.HTTPConnection('www.cwi.nl', 80) 67 >>> h3 = httplib.HTTPConnection('www.cwi.nl', 80, timeout=10) 422 Example: ``httplib.responses[httplib.NOT_FOUND]`` is ``'Not Found'``. [all …]
|
D | internet.rst | 29 httplib.rst
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | ports.py | 9 import httplib 160 with contextlib.closing(httplib.HTTPConnection( 172 except (httplib.HTTPException, socket.error) as e:
|
/external/autotest/server/hosts/ |
D | rpc_server_tracker.py | 5 import httplib 187 httplib.BadStatusLine), 339 conn = httplib.HTTPConnection(host, timeout=self.timeout)
|
/external/python/httplib2/python2/httplib2/ |
D | __init__.py | 33 import httplib 118 return httplib.FakeSocket(sock, ssl_sock) 170 raise httplib.ResponseNotReady() 174 if not hasattr(httplib.HTTPResponse, "getheaders"): 175 httplib.HTTPResponse.getheaders = HTTPResponse__getheaders 1132 class HTTPConnectionWithTimeout(httplib.HTTPConnection): 1142 httplib.HTTPConnection.__init__(self, host, port, strict) 1235 class HTTPSConnectionWithTimeout(httplib.HTTPSConnection): 1257 httplib.HTTPSConnection.__init__( 1473 class AppEngineHttpConnection(httplib.HTTPConnection): [all …]
|
/external/autotest/server/cros/faft/ |
D | rpc_proxy.py | 5 import httplib 75 httplib.BadStatusLine,
|
/external/v8/tools/release/ |
D | check_clusterfuzz.py | 18 import httplib 171 conn = httplib.HTTPSConnection(HOSTNAME)
|
/external/autotest/server/cros/multimedia/ |
D | remote_facade_factory.py | 5 import httplib 175 httplib.BadStatusLine): 225 httplib.BadStatusLine),
|
/external/autotest/tko/perf_upload/ |
D | perf_uploader.py | 16 import httplib 278 except httplib.HTTPException:
|
/external/autotest/server/cros/ap_configurators/ |
D | pyauto_utils.py | 7 import httplib 212 conn = httplib.HTTPConnection(parsed.netloc)
|
/external/autotest/server/site_tests/enterprise_LongevityTrackerServer/ |
D | enterprise_LongevityTrackerServer.py | 12 import httplib 137 except httplib.HTTPException:
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.9.rst | 7 Remove the *check_hostname* parameter of httplib.HTTPSConnection. The
|
/external/autotest/client/site_tests/longevity_Tracker/ |
D | longevity_Tracker.py | 10 import httplib 369 except httplib.HTTPException:
|
/external/autotest/scheduler/shard/ |
D | shard_client.py | 10 import httplib 401 except httplib.HTTPException as e:
|