Home
last modified time | relevance | path

Searched refs:HTTPResponse (Results 1 – 23 of 23) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_httplib.py238 resp = httplib.HTTPResponse(sock)
256 resp = httplib.HTTPResponse(FakeSocket(resp))
269 resp = httplib.HTTPResponse(FakeSocket(resp))
275 resp = httplib.HTTPResponse(FakeSocket(resp))
290 resp = httplib.HTTPResponse(FakeSocket(resp))
297 resp = httplib.HTTPResponse(FakeSocket(resp))
316 resp = httplib.HTTPResponse(FakeSocket(resp))
328 resp = httplib.HTTPResponse(FakeSocket(resp))
346 resp = httplib.HTTPResponse(sock)
394 resp = httplib.HTTPResponse(sock)
[all …]
Dtest_urllib2net.py85 self.assertIs(httpresponse.__class__, httplib.HTTPResponse)
/external/python/cpython3/Lib/test/
Dtest_httplib.py281 resp = client.HTTPResponse(sock)
301 resp = client.HTTPResponse(sock)
354 resp = client.HTTPResponse(sock, debuglevel=1)
497 resp = client.HTTPResponse(sock)
510 resp = client.HTTPResponse(sock)
522 resp = client.HTTPResponse(sock)
537 resp = client.HTTPResponse(sock)
552 resp = client.HTTPResponse(sock)
572 resp = client.HTTPResponse(sock)
588 resp = client.HTTPResponse(sock)
[all …]
/external/python/cpython3/Doc/library/
Dhttp.client.rst109 .. class:: HTTPResponse(sock, debuglevel=0, method=None, url=None)
288 Returns an :class:`HTTPResponse` instance.
306 is passed to any new :class:`HTTPResponse` objects that are created.
414 HTTPResponse Objects
417 An :class:`HTTPResponse` instance wraps the HTTP response from the
427 .. method:: HTTPResponse.read([amt])
431 .. method:: HTTPResponse.readinto(b)
438 .. method:: HTTPResponse.getheader(name, default=None)
445 .. method:: HTTPResponse.getheaders()
449 .. method:: HTTPResponse.fileno()
[all …]
Durllib.request.rst70 :class:`http.client.HTTPResponse` object slightly modified. In addition
72 same information as the :attr:`~http.client.HTTPResponse.reason`
75 :class:`~http.client.HTTPResponse`.
/external/python/cpython2/Doc/library/
Dhttplib.rst108 .. class:: HTTPResponse(sock, debuglevel=0, strict=0)
459 Returns an :class:`HTTPResponse` instance.
539 HTTPResponse Objects
542 :class:`HTTPResponse` instances have the following methods and attributes:
545 .. method:: HTTPResponse.read([amt])
550 .. method:: HTTPResponse.getheader(name[, default])
556 .. method:: HTTPResponse.getheaders()
562 .. method:: HTTPResponse.fileno()
566 .. attribute:: HTTPResponse.msg
571 .. attribute:: HTTPResponse.version
[all …]
/external/python/cpython2/Lib/
Dhttplib.py354 class HTTPResponse: class
715 response_class = HTTPResponse
/external/python/cpython3/Lib/http/
Dclient.py217 class HTTPResponse(io.BufferedIOBase): class
784 response_class = HTTPResponse
/external/python/httplib2/python2/httplib2/
D__init__.py174 if not hasattr(httplib.HTTPResponse, "getheaders"):
175 httplib.HTTPResponse.getheaders = HTTPResponse__getheaders
2210 if isinstance(info, httplib.HTTPResponse):
/external/python/cpython3/Misc/NEWS.d/
D3.5.2rc1.rst967 Account for remaining Content-Length in HTTPResponse.readline() and read1().
968 Based on patch by Silent Ghost. Also document that HTTPResponse now supports
D3.6.0a1.rst1562 Account for remaining Content-Length in HTTPResponse.readline() and read1().
1563 Based on patch by Silent Ghost. Also document that HTTPResponse now supports
/external/python/httplib2/doc/
Dlibhttplib2.rst219 :class:`rfc822.Message` or an :class:`httplib.HTTPResponse` object.
/external/python/httplib2/doc/html/_sources/
Dlibhttplib2.txt219 :class:`rfc822.Message` or an :class:`httplib.HTTPResponse` object.
/external/python/httplib2/
Dlibhttplib2.tex182 an \class{rfc822.Message} or an \class{httplib.HTTPResponse} object.
/external/python/httplib2/python3/httplib2/
D__init__.py1988 if isinstance(info, http.client.HTTPResponse):
/external/python/cpython2/Misc/NEWS.d/
D2.7.7rc1.rst705 HTTPResponse.read(0) no more prematurely closes connection. Original patch
D2.7.4rc1.rst1000 httplib.HTTPResponse is now mark closed when the server sends less than the
1290 In HTTPResponse.read(), close the socket when there is no Content-Length and
D2.7a1.rst2126 strings in httplib's HTTPResponse._read_chunked providing a significant
/external/python/cpython3/Doc/whatsnew/
D3.3.rst1423 :class:`http.client.HTTPResponse` now has a
1424 :meth:`~http.client.HTTPResponse.readinto` method, which means it can be used
D2.7.rst1307 * The default :class:`~httplib.HTTPResponse` class used by the :mod:`httplib` module now
/external/python/cpython2/Doc/whatsnew/
D2.7.rst1292 * The default :class:`~httplib.HTTPResponse` class used by the :mod:`httplib` module now
/external/python/cpython3/Misc/
DHISTORY2957 - Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.
5364 - Issue #16723: httplib.HTTPResponse no longer marked closed when the connection
5398 - Issue #15633: httplib.HTTPResponse is now mark closed when the server
5572 - Issue #16298: In HTTPResponse.read(), close the socket when there is no
8971 - Issue #13464: Add a readinto() method to http.client.HTTPResponse. Patch
14058 concatenating strings in http.client's HTTPResponse._read_chunked providing a
19966 - HTTPResponse has now a getheaders method.
/external/python/cpython2/Misc/
DHISTORY2582 - HTTPResponse has now a getheaders method.