|
@@ -20,8 +20,6 @@ class HttpGetHandler(BaseHTTPRequestHandler):
|
|
|
<title>Страница 2</title></head>
|
|
|
<body>Смагин Максим Сергеевич 701 группа</body></html>"""
|
|
|
self.wfile.write(http_text.encode())
|
|
|
-<<<<<<< HEAD
|
|
|
-=======
|
|
|
if self.path.endswith("/Status"):
|
|
|
self.send_response(200)
|
|
|
self.send_header("Content-type", "text/html")
|
|
@@ -36,7 +34,6 @@ class HttpGetHandler(BaseHTTPRequestHandler):
|
|
|
f"Дата: {data}<br><br>"
|
|
|
|
|
|
self.wfile.write(http_text.encode())
|
|
|
->>>>>>> dev
|
|
|
except IOError:
|
|
|
self.send_error(400, "File not found{self.path}")
|
|
|
def main(server_class=HTTPServer,handler_class=HttpGetHandler):
|