| Trees | Index | Help |
|
|---|
| Module httplib :: Class HTTPConnection |
|
HTTPSConnection| Method Summary | |
|---|---|
__init__(self,
host,
port,
strict)
| |
Close the connection to the HTTP server. | |
Connect to the host and port specified in __init__. | |
Indicate that the last header line has been sent to the server. | |
Get the response from the server. | |
Send a request header line to the server. | |
Send a request to the server. | |
Send a complete request to the server. | |
Send `str' to the server. | |
set_debuglevel(self,
level)
| |
| Class Variable Summary | |
|---|---|
int |
auto_open
|
int |
debuglevel
|
int |
default_port
|
classobj |
HTTPResponse
|
int |
strict
|
| Method Details |
|---|
close(self)Close the connection to the HTTP server. |
connect(self)Connect to the host and port specified in __init__. |
endheaders(self)Indicate that the last header line has been sent to the server. |
getresponse(self)Get the response from the server. |
putheader(self, header, value)Send a request header line to the server. For example: h.putheader('Accept', 'text/html') |
putrequest(self, method, url, skip_host=0)Send a request to the server. `method' specifies an HTTP request method, e.g. 'GET'. `url' specifies the object being requested, e.g. '/index.html'. |
request(self, method, url, body=None, headers={})Send a complete request to the server. |
send(self, str)Send `str' to the server. |
| Class Variable Details |
|---|
auto_open
|
debuglevel
|
default_port
|
HTTPResponseHTTPResponse = httplib.HTTPResponse
|
strict
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 1.1 on Thu Oct 16 16:37:22 2003 | http://epydoc.sf.net |