/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_docxmlrpc.py | 2 import httplib 67 self.client = httplib.HTTPConnection("localhost:%d" % PORT)
|
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_urllib2net.py | 75 import httplib 85 self.assertIs(httpresponse.__class__, httplib.HTTPResponse)
|
D | test_normalization.py | 4 from httplib import HTTPException
|
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
|
/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/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/pigweed/pw_env_setup/py/pw_env_setup/cipd_setup/ |
D | wrapper.py | 34 import httplib # type: ignore 36 import http.client as httplib # type: ignore[no-redef] namespace 179 conn = httplib.HTTPSConnection(target_url) 183 conn = httplib.HTTPSConnection(url.hostname, url.port) 257 if res.status == httplib.OK: # pylint: disable=no-else-return 261 elif res.status == httplib.FOUND:
|
/external/oss-fuzz/projects/cpp-httplib/ |
D | Dockerfile | 26 RUN git clone --depth 1 https://github.com/yhirose/cpp-httplib.git cpp-httplib 28 WORKDIR cpp-httplib
|
/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/autotest/server/cros/faft/ |
D | rpc_proxy.py | 5 import httplib 90 httplib.BadStatusLine, 132 except (StandardError, httplib.BadStatusLine, xmlrpclib.Error) as e:
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | ports.py | 8 import httplib 166 httplib.HTTPConnection(host, port, timeout=timeout)) as http: 177 except (httplib.HTTPException, socket.error) as e:
|
/external/autotest/client/cros/faft/ |
D | rpc_functions.py | 14 import httplib 173 httplib.BAD_REQUEST, 185 httplib.FORBIDDEN, 192 httplib.BAD_REQUEST, 201 httplib.NOT_FOUND, 208 httplib.NOT_FOUND, 217 httplib.NOT_FOUND, 225 httplib.NOT_IMPLEMENTED, 233 httplib.INTERNAL_SERVER_ERROR,
|
/external/python/httplib2/python2/httplib2/ |
D | __init__.py | 33 import httplib 125 return httplib.FakeSocket(sock, ssl_sock) 177 raise httplib.ResponseNotReady() 181 if not hasattr(httplib.HTTPResponse, "getheaders"): 182 httplib.HTTPResponse.getheaders = HTTPResponse__getheaders 1150 class HTTPConnectionWithTimeout(httplib.HTTPConnection): 1160 httplib.HTTPConnection.__init__(self, host, port, strict) 1255 class HTTPSConnectionWithTimeout(httplib.HTTPSConnection): 1279 httplib.HTTPSConnection.__init__(self, host, port=port, strict=strict) 1285 httplib.HTTPSConnection.__init__( [all …]
|
/external/autotest/tko/perf_upload/ |
D | perf_uploader.py | 16 import httplib 331 except httplib.HTTPException:
|
/external/autotest/server/cros/ap_configurators/ |
D | pyauto_utils.py | 9 import httplib 214 conn = httplib.HTTPConnection(parsed.netloc)
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.9.rst | 7 Remove the *check_hostname* parameter of httplib.HTTPSConnection. The
|
/external/autotest/server/site_tests/enterprise_LongevityTrackerServer/ |
D | enterprise_LongevityTrackerServer.py | 12 import httplib 137 except httplib.HTTPException:
|
/external/autotest/client/site_tests/longevity_Tracker/ |
D | longevity_Tracker.py | 10 import httplib 369 except httplib.HTTPException:
|
/external/python/cpython2/Lib/ |
D | urllib2.py | 94 import httplib 496 if hasattr(httplib, 'HTTPS'): 1228 return self.do_open(httplib.HTTPConnection, req) 1232 if hasattr(httplib, 'HTTPS'): 1240 return self.do_open(httplib.HTTPSConnection, req,
|
D | xmlrpclib.py | 145 import httplib 1287 except httplib.BadStatusLine: #close after we sent request 1389 self._connection = host, httplib.HTTPConnection(chost) 1513 HTTPS = httplib.HTTPSConnection
|
/external/skia/bench/ |
D | check_bench_regressions.py | 12 import httplib
|
/external/skqp/bench/ |
D | check_bench_regressions.py | 8 import httplib
|