|
@ -20,6 +20,7 @@ class HTTPRequestHandler(BaseHTTPRequestHandler): |
|
|
def setup(self, *args, **kwargs): |
|
|
def setup(self, *args, **kwargs): |
|
|
super().setup(*args, **kwargs) |
|
|
super().setup(*args, **kwargs) |
|
|
self.config = self.server.config["server"] |
|
|
self.config = self.server.config["server"] |
|
|
|
|
|
self.auth = self.server.auth |
|
|
|
|
|
|
|
|
def send_ok(self, data): |
|
|
def send_ok(self, data): |
|
|
self.send_response(HTTPStatus.OK) |
|
|
self.send_response(HTTPStatus.OK) |
|
|