Package SPyRO :: Module SPyRO :: Class ProtocolHTTPShared
[hide private]
[frames] | no frames]

Class ProtocolHTTPShared

source code

TransportProtocolMixIn --+
                         |
                        ProtocolHTTPShared

An HTTP Server to manage SPyRO requests, attached to another HTTP server

Instance Methods [hide private]
 
__init__(self, rfile, wfile, env, default_format='MARSHAL')
Perform connection using the opened socket |reqsocket|
source code
 
get_request(self, format)
Read the request and return it as a Request object instance
source code
 
send_data(self, res)
Common code between send_result and send_error
source code
 
send_result(self, msg)
Encode and send the message (msg is a Response object)
source code
 
close(self)
Close the server
source code
 
__del__(self) source code