|
|
|
|
|
|
|
set_socket(self,
commsocket,
usingssl=True)
Change the socket that connecs peers |
source code
|
|
|
|
|
__getitem__(self,
v)
Get the |v| HTTP header |
source code
|
|
|
|
|
get_content(self,
just_file_pointer=True,
get_raw_data=True)
Return the content of the document (a POST in the server, a
response int the client) |
source code
|
|
|
request_error(self,
string)
Called when an HTTP Request error ocurrs, in the server is called
when a response error is present. |
source code
|
|
|
header_error(self,
string)
Called when a bad header is present |
source code
|
|
|
|
|
read_headers(self)
Read the headers and the (response status|request) |
source code
|
|
|
|
|
put_headers(self,
headers=None)
Send the headers, including the response|request |
source code
|
|
|
|
|
get_uri(self)
The URI or requested location |
source code
|
|
|
get_httpversion(self)
The version of the HTTP used |
source code
|
|