HTTPConnection instances have the following methods:
method, url[, body[, headers]]) |
) |
level) |
0
, meaning no debugging output is
printed.
) |
) |
data) |
request, selector[, skip_host[, skip_accept_encoding]]) |
HTTP/1.1
). To disable automatic sending of Host:
or
Accept-Encoding:
headers (for example to accept additional
content encodings), specify skip_host or skip_accept_encoding
with non-False values.
Changed in version 2.4:
skip_accept_encoding argument added.
header, argument[, ...]) |
) |
See About this document... for information on suggesting changes.