Home
last modified time | relevance | path

Searched refs:HTTPConnection (Results 1 – 25 of 61) sorted by relevance

123

/external/python/cpython3/Doc/library/
Dhttp.client.rst34 .. 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/
Dtest_httplib.py118 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 …]
Dtest_docxmlrpc.py77 self.client = http.client.HTTPConnection("localhost:%d" % PORT)
Dtest_urllib.py87 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
Dtest_wsgiref.py14 from http.client import HTTPConnection
281 http = HTTPConnection(*server.server_address)
Daudit-tests.py380 conn = http.client.HTTPConnection('www.python.org')
Dtest_httpservers.py83 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/
Dtest_httplib.py104 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 …]
Dtest_docxmlrpc.py67 self.client = httplib.HTTPConnection("localhost:%d" % PORT)
Dtest_urllib.py44 class FakeHTTPConnection(httplib.HTTPConnection):
59 assert httplib.HTTP._connection_class == httplib.HTTPConnection
64 httplib.HTTP._connection_class = httplib.HTTPConnection
Dtest_httpservers.py87 self.connection = httplib.HTTPConnection('localhost', self.PORT)
190 self.con = httplib.HTTPConnection('localhost', self.PORT)
Dtest_urllib2.py1043 real_class = httplib.HTTPConnection
1045 httplib.HTTPConnection = test_urllib.fakehttp(response1)
1053 httplib.HTTPConnection.request = request
Dtest_xmlrpc.py549 conn = httplib.HTTPConnection(ADDR, PORT)
661 conn = httplib.HTTPConnection(ADDR, PORT)
/external/python/cpython2/Doc/library/
Dhttplib.rst46 .. 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/
Dhttplib.py710 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.py101 connection = http_client.HTTPConnection(parts.netloc, timeout=timeout)
/external/perfetto/python/perfetto/trace_processor/
Dhttp.py26 self.conn = http.client.HTTPConnection(url)
/external/chromium-trace/catapult/devil/devil/android/
Dports.py166 httplib.HTTPConnection(host, port, timeout=timeout)) as http:
/external/python/setuptools/setuptools/command/
Dupload_docs.py178 conn = http.client.HTTPConnection(netloc)
/external/autotest/server/hosts/
Drpc_server_tracker.py388 conn = six.moves.http_client.HTTPConnection(host, timeout=self.timeout)
/external/autotest/server/cros/ap_configurators/
Dpyauto_utils.py214 conn = httplib.HTTPConnection(parsed.netloc)
/external/python/httplib2/python2/httplib2/
D__init__.py1150 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/
Dclient.py789 class HTTPConnection: class
1398 class HTTPSConnection(HTTPConnection):
/external/python/cpython2/Misc/NEWS.d/
D2.7.10rc1.rst280 If body is None, http.client.HTTPConnection.request now sets Content-Length
665 Fixed socket leak if HTTPConnection.getresponse() fails. Original patch by
D2.7a2.rst208 ``httplib.HTTPConnection`` now accepts an optional source_address parameter

123