wsgidav.server.ext_wsgiutils_server.ExtServer¶
- class wsgidav.server.ext_wsgiutils_server.ExtServer(serverAddress, wsgiApplications, serveFiles=1)[source]¶
Bases:
socketserver.ThreadingMixIn
,http.server.HTTPServer
ExtServer.close_request
(request)Called to clean up an individual request.
Return socket file number.
ExtServer.finish_request
(request, client_address)Finish one request by instantiating RequestHandlerClass.
Get the request and client address from the socket.
ExtServer.handle_error
(request, client_address)Handle an error gracefully.
Handle one request, possibly blocking.
Called if no new request arrives within self.timeout.
ExtServer.process_request
(request, ...)Start a new thread to process the request.
ExtServer.process_request_thread
(request, ...)Same as in BaseServer but as a thread.
ExtServer.serve_forever
([poll_interval])Handle one request at a time until shutdown.
Handle one request at a time until stop_serve_forever().
Called by constructor to activate the server.
Override server_bind to store the server name.
Called to clean-up the server.
Called by the serve_forever() loop.
Stops the serve_forever loop.
ExtServer.shutdown_request
(request)Called to shutdown and close an individual request.
Stop serve_forever_stoppable().
ExtServer.verify_request
(request, client_address)Verify the request.