http.client.HTTPResponse.readinto()

HTTPResponse.readinto(b) Reads up to the next len(b) bytes of the response body into the buffer b. Returns the number of bytes read. New in version 3.3.

http.client.HTTPResponse.status

HTTPResponse.status Status code returned by server.

http.client.ImproperConnectionState

exception http.client.ImproperConnectionState A subclass of HTTPException.

http.client.HTTPSConnection

class http.client.HTTPSConnection(host, port=None, key_file=None, cert_file=None, [timeout, ]source_address=None, *, context=None, check_hostname=None) A subclass of HTTPConnection that uses SSL for communication with secure servers. Default port is 443. If context is specified, it must be a ssl.SSLContext instance describing the various SSL options. key_file and cert_file are deprecated, please use ssl.SSLContext.load_cert_chain() instead, or let ssl.create_default_context() select the syst

http.client.HTTPResponse.reason

HTTPResponse.reason Reason phrase returned by server.

http.client.HTTPResponse.version

HTTPResponse.version HTTP protocol version used by server. 10 for HTTP/1.0, 11 for HTTP/1.1.

http.client.HTTPResponse.msg

HTTPResponse.msg A http.client.HTTPMessage instance containing the response headers. http.client.HTTPMessage is a subclass of email.message.Message.

http.client.HTTPResponse.getheaders()

HTTPResponse.getheaders() Return a list of (header, value) tuples.

http.client.HTTPResponse.read()

HTTPResponse.read([amt]) Reads and returns the response body, or up to the next amt bytes.

http.client.HTTPResponse.debuglevel

HTTPResponse.debuglevel A debugging hook. If debuglevel is greater than zero, messages will be printed to stdout as the response is read and parsed.