Trees | Index | Help |
---|
Package shttp :: Module sHTTP :: Class HTTPClient |
|
HTTPBase
--+
|
HTTPClient
Method Summary | |
---|---|
Initialize the HTTP Client, it uses the |address| to connect | |
__del__(self)
| |
Return the content of the document (a POST in the server, a response int the client) | |
get_response_reason(self)
| |
get_response_status(self)
| |
Manage the request error as bas response | |
Send a request to the server | |
Change the socket, to manage connetion errors and https connections | |
Inherited from HTTPBase | |
Get the |v| HTTP header | |
close the Object | |
| |
The version of the HTTP used | |
What method is used to communicate (i.e. | |
The URI or requested location | |
Called when a bad header is present | |
Send the headers, including the response|request | |
Read the headers and the (response status|request) |
Method Details |
---|
__init__(self,
address,
defaultheaders=None,
sockettimeout=None,
usingssl=False)
Initialize the HTTP Client, it uses the |address| to connect
|
get_content(self, just_file_pointer=False, get_raw_data=False)Return the content of the document (a POST in the server, a response int the client)
|
request_error(self, string)Manage the request error as bas response
|
send_request(self, uri, msg='', version='HTTP/1.1', method='POST', headers=None)Send a request to the server |
set_socket(self, conn=None, usingssl=False)Change the socket, to manage connetion errors and https connections
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sat Oct 14 11:50:52 2006 | http://epydoc.sf.net |