Searched refs:HTTPConnection (Results 1 – 25 of 61) sorted by relevance
123
/external/python/cpython3/Doc/library/ |
D | http.client.rst | 34 .. class:: HTTPConnection(host, port=None[, timeout], source_address=None, \ 37 An :class:`HTTPConnection` instance represents one transaction with an HTTP 52 >>> h1 = http.client.HTTPConnection('www.python.org') 53 >>> h2 = http.client.HTTPConnection('www.python.org:80') 54 >>> h3 = http.client.HTTPConnection('www.python.org', 80) 55 >>> h4 = http.client.HTTPConnection('www.python.org', 80, timeout=10) 73 A subclass of :class:`HTTPConnection` that uses SSL for communication with 223 by :meth:`HTTPConnection.getresponse` when the attempt to read the response 253 HTTPConnection Objects 256 :class:`HTTPConnection` instances have the following methods: [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_httplib.py | 118 class FakeSocketHTTPConnection(client.HTTPConnection): 154 conn = client.HTTPConnection('example.com') 182 conn = client.HTTPConnection('example.com') 198 conn = client.HTTPConnection('example.com') 211 conn = client.HTTPConnection('example.com') 222 conn = client.HTTPConnection('example.com') 232 conn = client.HTTPConnection('example.com') 270 conn = client.HTTPConnection('[2001::]:81') 278 conn = client.HTTPConnection('[2001:102A::]') 325 conn = client.HTTPConnection('example.com') [all …]
|
D | test_docxmlrpc.py | 77 self.client = http.client.HTTPConnection("localhost:%d" % PORT)
|
D | test_urllib.py | 87 class FakeHTTPConnection(http.client.HTTPConnection): 111 self._connection_class = http.client.HTTPConnection 112 http.client.HTTPConnection = fake_http_class 115 http.client.HTTPConnection = self._connection_class 582 fakehttp_wrapper = http.client.HTTPConnection
|
D | test_wsgiref.py | 14 from http.client import HTTPConnection 281 http = HTTPConnection(*server.server_address)
|
D | audit-tests.py | 380 conn = http.client.HTTPConnection('www.python.org')
|
D | test_httpservers.py | 83 self.connection = http.client.HTTPConnection(self.HOST, self.PORT) 137 self.con = http.client.HTTPConnection(self.HOST, self.PORT) 308 self.con = http.client.HTTPConnection(self.HOST, self.PORT) 319 self.con = http.client.HTTPConnection(self.HOST, self.PORT)
|
/external/python/cpython2/Lib/test/ |
D | test_httplib.py | 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::]') 359 conn = httplib.HTTPConnection('example.com') 512 conn = httplib.HTTPConnection('example.com') [all …]
|
D | test_docxmlrpc.py | 67 self.client = httplib.HTTPConnection("localhost:%d" % PORT)
|
D | test_urllib.py | 44 class FakeHTTPConnection(httplib.HTTPConnection): 59 assert httplib.HTTP._connection_class == httplib.HTTPConnection 64 httplib.HTTP._connection_class = httplib.HTTPConnection
|
D | test_httpservers.py | 87 self.connection = httplib.HTTPConnection('localhost', self.PORT) 190 self.con = httplib.HTTPConnection('localhost', self.PORT)
|
D | test_urllib2.py | 1043 real_class = httplib.HTTPConnection 1045 httplib.HTTPConnection = test_urllib.fakehttp(response1) 1053 httplib.HTTPConnection.request = request
|
D | test_xmlrpc.py | 549 conn = httplib.HTTPConnection(ADDR, PORT) 661 conn = httplib.HTTPConnection(ADDR, PORT)
|
/external/python/cpython2/Doc/library/ |
D | httplib.rst | 46 .. class:: HTTPConnection(host[, port[, strict[, timeout[, source_address]]]]) 48 An :class:`HTTPConnection` instance represents one transaction with an HTTP 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) 80 A subclass of :class:`HTTPConnection` that uses SSL for communication with 429 HTTPConnection Objects 432 :class:`HTTPConnection` instances have the following methods: 435 .. method:: HTTPConnection.request(method, url[, body[, headers]]) [all …]
|
/external/python/cpython2/Lib/ |
D | httplib.py | 710 class HTTPConnection: class 1146 _connection_class = HTTPConnection 1234 class HTTPSConnection(HTTPConnection): 1242 HTTPConnection.__init__(self, host, port, strict, timeout, 1255 HTTPConnection.connect(self)
|
/external/python/google-auth-library-python/google/auth/transport/ |
D | _http_client.py | 101 connection = http_client.HTTPConnection(parts.netloc, timeout=timeout)
|
/external/perfetto/python/perfetto/trace_processor/ |
D | http.py | 26 self.conn = http.client.HTTPConnection(url)
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | ports.py | 166 httplib.HTTPConnection(host, port, timeout=timeout)) as http:
|
/external/python/setuptools/setuptools/command/ |
D | upload_docs.py | 178 conn = http.client.HTTPConnection(netloc)
|
/external/autotest/server/hosts/ |
D | rpc_server_tracker.py | 388 conn = six.moves.http_client.HTTPConnection(host, timeout=self.timeout)
|
/external/autotest/server/cros/ap_configurators/ |
D | pyauto_utils.py | 214 conn = httplib.HTTPConnection(parsed.netloc)
|
/external/python/httplib2/python2/httplib2/ |
D | __init__.py | 1150 class HTTPConnectionWithTimeout(httplib.HTTPConnection): 1160 httplib.HTTPConnection.__init__(self, host, port, strict) 1505 class AppEngineHttpConnection(httplib.HTTPConnection): 1526 httplib.HTTPConnection.__init__(
|
/external/python/cpython3/Lib/http/ |
D | client.py | 789 class HTTPConnection: class 1398 class HTTPSConnection(HTTPConnection):
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.10rc1.rst | 280 If body is None, http.client.HTTPConnection.request now sets Content-Length 665 Fixed socket leak if HTTPConnection.getresponse() fails. Original patch by
|
D | 2.7a2.rst | 208 ``httplib.HTTPConnection`` now accepts an optional source_address parameter
|
123