Home
last modified time | relevance | path

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

12

/external/python/cpython3/Doc/library/
Dhttp.client.rst34 .. class:: HTTPConnection(host, port=None[, timeout], source_address=None)
36 An :class:`HTTPConnection` instance represents one transaction with an HTTP
49 >>> h1 = http.client.HTTPConnection('www.python.org')
50 >>> h2 = http.client.HTTPConnection('www.python.org:80')
51 >>> h3 = http.client.HTTPConnection('www.python.org', 80)
52 >>> h4 = http.client.HTTPConnection('www.python.org', 80, timeout=10)
67 A subclass of :class:`HTTPConnection` that uses SSL for communication with
188 by :meth:`HTTPConnection.getresponse` when the attempt to read the response
218 HTTPConnection Objects
221 :class:`HTTPConnection` instances have the following methods:
[all …]
/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.py86 self.connection = httplib.HTTPConnection('localhost', self.PORT)
189 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/cpython3/Lib/test/
Dtest_httplib.py110 class FakeSocketHTTPConnection(client.HTTPConnection):
146 conn = client.HTTPConnection('example.com')
174 conn = client.HTTPConnection('example.com')
190 conn = client.HTTPConnection('example.com')
203 conn = client.HTTPConnection('example.com')
214 conn = client.HTTPConnection('example.com')
224 conn = client.HTTPConnection('example.com')
262 conn = client.HTTPConnection('[2001::]:81')
270 conn = client.HTTPConnection('[2001:102A::]')
317 conn = client.HTTPConnection('example.com')
[all …]
Dtest_urllib.py85 class FakeHTTPConnection(http.client.HTTPConnection):
100 self._connection_class = http.client.HTTPConnection
101 http.client.HTTPConnection = fakehttp(fakedata)
104 http.client.HTTPConnection = self._connection_class
452 fakehttp_wrapper = http.client.HTTPConnection
Dtest_docxmlrpc.py77 self.client = http.client.HTTPConnection("localhost:%d" % PORT)
Dtest_httpservers.py73 self.connection = http.client.HTTPConnection(self.HOST, self.PORT)
127 self.con = http.client.HTTPConnection(self.HOST, self.PORT)
298 self.con = http.client.HTTPConnection(self.HOST, self.PORT)
309 self.con = http.client.HTTPConnection(self.HOST, self.PORT)
Dtest_wsgiref.py12 from http.client import HTTPConnection
279 http = HTTPConnection(*server.server_address)
Dtest_urllib2.py1286 real_class = http.client.HTTPConnection
1288 http.client.HTTPConnection = test_urllib.fakehttp(response1)
1296 http.client.HTTPConnection.request = request
Dtest_xmlrpc.py735 conn = httplib.client.HTTPConnection(ADDR, PORT)
858 conn = http.client.HTTPConnection(ADDR, PORT)
/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)
Dxmlrpclib.py1389 self._connection = host, httplib.HTTPConnection(chost)
/external/chromium-trace/catapult/devil/devil/android/
Dports.py160 with contextlib.closing(httplib.HTTPConnection(
/external/libmojo/third_party/catapult/devil/devil/android/
Dports.py160 with contextlib.closing(httplib.HTTPConnection(
/external/autotest/server/hosts/
Drpc_server_tracker.py339 conn = httplib.HTTPConnection(host, timeout=self.timeout)
/external/autotest/server/cros/ap_configurators/
Dpyauto_utils.py212 conn = httplib.HTTPConnection(parsed.netloc)
/external/python/cpython3/Lib/http/
Dclient.py788 class HTTPConnection: class
1355 class HTTPSConnection(HTTPConnection):
/external/python/cpython3/Lib/urllib/
Drequest.py1234 return http.client.HTTPConnection._get_content_length(
1346 return self.do_open(http.client.HTTPConnection, req)
1941 return self._open_generic_http(http.client.HTTPConnection, url, data)
/external/python/cpython3/Lib/xmlrpc/
Dclient.py1244 self._connection = host, http.client.HTTPConnection(chost)
/external/python/cpython3/Lib/logging/
Dhandlers.py1149 h = http.client.HTTPConnection(host)

12