Home
last modified time | relevance | path

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

12

/third_party/python/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 …]
Dxmlrpc.client.rst589 connection = http.client.HTTPConnection(*self.proxy)
/third_party/python/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)
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)
Daudit-tests.py380 conn = http.client.HTTPConnection('www.python.org')
Dtest_urllib2.py1298 real_class = http.client.HTTPConnection
1300 http.client.HTTPConnection = test_urllib.fakehttp(response1)
1308 http.client.HTTPConnection.request = request
Dtest_xmlrpc.py851 with contextlib.closing(http.client.HTTPConnection(ADDR, PORT)) as conn:
/third_party/python/Lib/http/
Dclient.py789 class HTTPConnection: class
1398 class HTTPSConnection(HTTPConnection):
/third_party/python/Misc/NEWS.d/
D3.5.0a3.rst251 If body is None, http.client.HTTPConnection.request now sets Content-Length
D3.10.0a7.rst527 via :meth:`~HTTPConnection.set_tunnel`. Fewer small send calls are made
D3.5.0a1.rst1207 Fixed HTTPConnection.set_tunnel with default port. The port value in the
1327 Fixed socket leak if HTTPConnection.getresponse() fails. Original patch by
4014 http.client.HTTPConnection.set_tunnel(). Patch by Nikolaus Rath.
4609 Default to TCP_NODELAY=1 upon establishing an HTTPConnection. Removed use of
D3.6.0b1.rst1126 Chunked transfer encoding support added to http.client.HTTPConnection
D3.10.1.rst624 Fixed :class:`http.client.HTTPConnection` to work properly in OSs that don't
D3.7.0a3.rst675 Add Configurable *blocksize* to ``HTTPConnection`` and ``HTTPSConnection``
/third_party/python/Lib/urllib/
Drequest.py1265 return http.client.HTTPConnection._get_content_length(
1377 return self.do_open(http.client.HTTPConnection, req)
1966 return self._open_generic_http(http.client.HTTPConnection, url, data)
/third_party/python/Lib/xmlrpc/
Dclient.py1256 self._connection = host, http.client.HTTPConnection(chost)
/third_party/python/Lib/logging/
Dhandlers.py1217 connection = http.client.HTTPConnection(host)
/third_party/python/Doc/whatsnew/
D3.6.rst1116 :meth:`HTTPConnection.request() <http.client.HTTPConnection.request>` and
1117 :meth:`~http.client.HTTPConnection.endheaders` both now support
2262 :meth:`http.client.HTTPConnection.request` method, if no Content-Length
D3.5.rst1203 :meth:`HTTPConnection.getresponse() <http.client.HTTPConnection.getresponse>`
1211 conn = http.client.HTTPConnection('www.python.org')
D3.2.rst1711 The :class:`~http.client.HTTPConnection` and
1719 The :meth:`~http.client.HTTPConnection.request` method on connection objects
1727 :meth:`~http.client.HTTPConnection.set_tunnel` method that sets the host and
D3.4.rst2192 * The *strict* argument to :class:`~http.client.HTTPConnection` and
2348 * The removal of the *strict* argument to :class:`~http.client.HTTPConnection`
D3.7.rst952 :class:`~http.client.HTTPConnection` and :class:`~http.client.HTTPSConnection`

12