Compatibility class with httplib.py from 1.5.
There are no base classes.
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.