fix: hide python version
This commit is contained in:
@@ -52,6 +52,10 @@ class BaseHandler(abc.ABC, http.server.BaseHTTPRequestHandler):
|
|||||||
with contextlib.suppress(Exception):
|
with contextlib.suppress(Exception):
|
||||||
self.connection.close()
|
self.connection.close()
|
||||||
|
|
||||||
|
@typing.override
|
||||||
|
def version_string(self) -> str:
|
||||||
|
return self.server_version
|
||||||
|
|
||||||
@typing.override
|
@typing.override
|
||||||
def send_error(
|
def send_error(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Reference in New Issue
Block a user