Handler for HTTP requests.
This class groups callback functions that are invoked in response
to HTTP requests by WebServer .
Don't define __init__ or store any persistent information in
this class or subclasses; a new instance is created for each
request. Instead, store the information in the server instance,
available through the server attribute.
Methods
|
|
__HandleFileRequest
__HandlePageCacheRequest
__HandleRequest
__HandleScriptRequest
__HandleSessionCacheRequest
do_GET
do_POST
log_message
|
|
__HandleFileRequest
|
__HandleFileRequest (
self,
request,
path,
)
|
|
__HandlePageCacheRequest
|
__HandlePageCacheRequest ( self, request )
Process a retrieval request from the global page cache.
|
|
__HandleRequest
|
__HandleRequest ( self, request )
Process a request from a GET or POST operation.
-
request
- A
WebRequest object.
|
|
__HandleScriptRequest
|
__HandleScriptRequest ( self, request )
|
|
__HandleSessionCacheRequest
|
__HandleSessionCacheRequest ( self, request )
Process a retrieval request from the session page cache.
|
|
do_GET
|
do_GET ( self )
Process HTTP GET requests.
|
|
do_POST
|
do_POST ( self )
Process HTTP POST requests.
|
|
log_message
|
log_message (
self,
format,
*args,
)
Log a message; overrides BaseHTTPRequestHandler.log_message .
|
|