wsgidav.server.ext_wsgiutils_server.ExtServer¶
-
class
wsgidav.server.ext_wsgiutils_server.ExtServer(serverAddress, wsgiApplications, serveFiles=1)[source]¶ Bases:
socketserver.ThreadingMixIn,http.server.HTTPServerExtServer.address_familyExtServer.allow_reuse_addressExtServer.block_on_closeExtServer.daemon_threadsExtServer.request_queue_sizeExtServer.socket_typeExtServer.timeoutExtServer.close_request(request)Called to clean up an individual request. ExtServer.fileno()Return socket file number. ExtServer.finish_request(request, client_address)Finish one request by instantiating RequestHandlerClass. ExtServer.get_request()Get the request and client address from the socket. ExtServer.handle_error(request, client_address)Handle an error gracefully. ExtServer.handle_request()Handle one request, possibly blocking. ExtServer.handle_timeout()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. ExtServer.serve_forever_stoppable()Handle one request at a time until stop_serve_forever(). ExtServer.server_activate()Called by constructor to activate the server. ExtServer.server_bind()Override server_bind to store the server name. ExtServer.server_close()ExtServer.service_actions()Called by the serve_forever() loop. ExtServer.shutdown()Stops the serve_forever loop. ExtServer.shutdown_request(request)Called to shutdown and close an individual request. ExtServer.stop_serve_forever()Stop serve_forever_stoppable(). ExtServer.verify_request(request, client_address)Verify the request.