Searched refs:HTTPConnection (Results 1 – 25 of 39) sorted by relevance
12
/external/python/cpython3/Doc/library/ |
D | http.client.rst | 34 .. 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/ |
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 | 86 self.connection = httplib.HTTPConnection('localhost', self.PORT) 189 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/cpython3/Lib/test/ |
D | test_httplib.py | 110 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 …]
|
D | test_urllib.py | 85 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
|
D | test_docxmlrpc.py | 77 self.client = http.client.HTTPConnection("localhost:%d" % PORT)
|
D | test_httpservers.py | 73 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)
|
D | test_wsgiref.py | 12 from http.client import HTTPConnection 279 http = HTTPConnection(*server.server_address)
|
D | test_urllib2.py | 1286 real_class = http.client.HTTPConnection 1288 http.client.HTTPConnection = test_urllib.fakehttp(response1) 1296 http.client.HTTPConnection.request = request
|
D | test_xmlrpc.py | 735 conn = httplib.client.HTTPConnection(ADDR, PORT) 858 conn = http.client.HTTPConnection(ADDR, PORT)
|
/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)
|
D | xmlrpclib.py | 1389 self._connection = host, httplib.HTTPConnection(chost)
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | ports.py | 160 with contextlib.closing(httplib.HTTPConnection(
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
D | ports.py | 160 with contextlib.closing(httplib.HTTPConnection(
|
/external/autotest/server/hosts/ |
D | rpc_server_tracker.py | 339 conn = httplib.HTTPConnection(host, timeout=self.timeout)
|
/external/autotest/server/cros/ap_configurators/ |
D | pyauto_utils.py | 212 conn = httplib.HTTPConnection(parsed.netloc)
|
/external/python/cpython3/Lib/http/ |
D | client.py | 788 class HTTPConnection: class 1355 class HTTPSConnection(HTTPConnection):
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 1234 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/ |
D | client.py | 1244 self._connection = host, http.client.HTTPConnection(chost)
|
/external/python/cpython3/Lib/logging/ |
D | handlers.py | 1149 h = http.client.HTTPConnection(host)
|
12