A medusa style handler for zhttp_server
Methods
|
|
__init__
collect_incoming_data
continue_request
found_terminator
get_environment
handle_request
match
status
|
|
__init__
|
__init__ (
self,
module,
uri_base=None,
env=None,
)
Creates a zope_handler
- module
string, the name of the module to publish
uri_base -- string, the base uri of the published module
defaults to / if not given.
env -- dictionary, environment variables to be overridden.
Replaces standard variables with supplied ones.
|
|
collect_incoming_data
|
collect_incoming_data ( self, data )
put and post collection methods
|
|
continue_request
|
continue_request (
self,
sin,
request,
)
continue handling request now that we have the stdin
|
|
found_terminator
|
found_terminator ( self )
|
|
get_environment
|
get_environment (
self,
request,
split=string.split,
strip=string.strip,
join=string.join,
upper=string.upper,
lower=string.lower,
h2ehas=header2env.has_key,
h2eget=header2env.get,
workdir=os.getcwd(),
ospath=os.path,
)
|
|
handle_request
|
handle_request ( self, request )
|
|
match
|
match ( self, request )
|
|
status
|
status ( self )
|
|