Home
last modified time | relevance | path

Searched refs:HTTPResponse (Results 1 – 7 of 7) 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/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/cpython2/Misc/
DNEWS2276 - Issue #20007: HTTPResponse.read(0) no more prematurely closes connection.
3430 - Issue #15633: httplib.HTTPResponse is now mark closed when the server
3516 - Issue #16298: In HTTPResponse.read(), close the socket when there is no
7935 concatenating strings in httplib's HTTPResponse._read_chunked providing a
DHISTORY2582 - HTTPResponse has now a getheaders method.
/external/python/cpython2/Doc/whatsnew/
D2.7.rst1292 * The default :class:`~httplib.HTTPResponse` class used by the :mod:`httplib` module now