class documentation

class WSGIRequestHandler(BaseHTTPRequestHandler):

View In Hierarchy

A request handler that implements WSGI dispatching.
Method address​_string Undocumented
Method connection​_dropped Called if the connection was closed by the client. By default nothing happens.
Method handle Handles a request ignoring dropped connections.
Method handle​_one​_request Handle a single HTTP request.
Method initiate​_shutdown Undocumented
Method log Undocumented
Method log​_error Undocumented
Method log​_message Undocumented
Method log​_request Undocumented
Method make​_environ Undocumented
Method port​_integer Undocumented
Method run​_wsgi Undocumented
Method send​_response Send the response header and log the response code.
Method version​_string Undocumented
Class Variable server Undocumented
Instance Variable client​_address Undocumented
Instance Variable close​_connection Undocumented
Instance Variable environ Undocumented
Instance Variable raw​_requestline Undocumented
Property server​_version Undocumented
def address_string(self):

Undocumented

Returns
strUndocumented
def connection_dropped(self, error, environ=None):
Called if the connection was closed by the client. By default nothing happens.
Parameters
error:BaseExceptionUndocumented
environ:t.Optional[WSGIEnvironment]Undocumented
def handle(self):
Handles a request ignoring dropped connections.
def handle_one_request(self):
Handle a single HTTP request.
def initiate_shutdown(self):

Undocumented

def log(self, type, message, *args):

Undocumented

Parameters
type:strUndocumented
message:strUndocumented
*args:t.AnyUndocumented
def log_error(self, format, *args):

Undocumented

Parameters
format:strUndocumented
*args:t.AnyUndocumented
def log_message(self, format, *args):

Undocumented

Parameters
format:strUndocumented
*args:t.AnyUndocumented
def log_request(self, code='-', size='-'):

Undocumented

Parameters
code:t.Union[int, str]Undocumented
size:t.Union[int, str]Undocumented
def make_environ(self):

Undocumented

Returns
WSGIEnvironmentUndocumented
def port_integer(self):

Undocumented

Returns
intUndocumented
def run_wsgi(self):

Undocumented

def send_response(self, code, message=None):
Send the response header and log the response code.
Parameters
code:intUndocumented
message:t.Optional[str]Undocumented
def version_string(self):

Undocumented

Returns
strUndocumented
server: BaseWSGIServer =

Undocumented

client_address: tuple =

Undocumented

close_connection: bool =

Undocumented

environ =

Undocumented

raw_requestline =

Undocumented

@property
server_version: str =

Undocumented