Lines Matching refs:HTTPResponse
119 .. class:: HTTPResponse(sock, debuglevel=0, method=None, url=None)
138 (the same as :attr:`HTTPResponse.msg`
317 Returns an :class:`HTTPResponse` instance.
335 is passed to any new :class:`HTTPResponse` objects that are created.
447 HTTPResponse Objects
450 An :class:`HTTPResponse` instance wraps the HTTP response from the
460 .. method:: HTTPResponse.read([amt])
464 .. method:: HTTPResponse.readinto(b)
471 .. method:: HTTPResponse.getheader(name, default=None)
478 .. method:: HTTPResponse.getheaders()
482 .. method:: HTTPResponse.fileno()
486 .. attribute:: HTTPResponse.msg
492 .. attribute:: HTTPResponse.version
496 .. attribute:: HTTPResponse.url
500 .. attribute:: HTTPResponse.headers
504 .. attribute:: HTTPResponse.status
508 .. attribute:: HTTPResponse.reason
512 .. attribute:: HTTPResponse.debuglevel
517 .. attribute:: HTTPResponse.closed
521 .. method:: HTTPResponse.geturl()
524 Deprecated in favor of :attr:`~HTTPResponse.url`.
526 .. method:: HTTPResponse.info()
529 Deprecated in favor of :attr:`~HTTPResponse.headers`.
531 .. method:: HTTPResponse.getstatus()
534 Deprecated in favor of :attr:`~HTTPResponse.status`.