Compatibility with 1.5 httplib interface
Python 1.5.2 did not have an HTTPS class, but it defined an interface for sending http requests that is also useful for https.
There are no implemented interfaces.
debuglevel
(type:
int
)
0
close()
connect(host=None, port=None)
Accept arguments to set the host/port, since the superclass doesn't.
getfile()
Provide a getfile, since the superclass' does not use this concept.
getreply()
Compat definition since superclass does not define it.
Returns a tuple consisting of:
- server status code (e.g. 200
if all goes well)
- server "reason" corresponding to status code
- any RFC822 headers in the response from the server
putheader(header, *values)
The superclass allows only one value argument.
There are no known subclasses.