Handler that's just initialized with streams, environment, etc.
This handler subclass is intended for synchronous HTTP/1.0 origin
servers, and handles sending the entire response output, given the
correct inputs.
|
|
| __init__(self,
stdin,
stdout,
stderr,
environ,
multithread=True,
multiprocess=False) |
|
|
|
|
get_stdin(self)
Override in subclass to return suitable 'wsgi.input' |
|
|
|
|
get_stderr(self)
Override in subclass to return suitable 'wsgi.errors' |
|
|
|
|
add_cgi_vars(self)
Override in subclass to insert CGI variables in 'self.environ' |
|
|
|
|
_write(self,
data)
Override in subclass to buffer data for send to client |
|
|
|
|
_flush(self)
Override in subclass to force sending of recent '_write()' calls |
|
|
|
Inherited from BaseHandler:
cleanup_headers,
client_is_modern,
close,
error_output,
finish_content,
finish_response,
get_scheme,
handle_error,
log_exception,
result_is_file,
run,
send_headers,
send_preamble,
sendfile,
set_content_length,
setup_environ,
start_response,
write
|