From dfd5d61db7a59da2f23c62dbf06cb4b87f2c299a Mon Sep 17 00:00:00 2001 From: justuser Date: Mon, 19 Aug 2024 15:07:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BB=D0=BE=D0=B3=D0=B8=D1=80=D0=BE=D0=B2?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D1=8F=20(=D1=87=D1=82=D0=BE=D0=B1=D1=8B=20?= =?UTF-8?q?=D0=BD=D0=B5=20=D0=B7=D0=B0=D0=B1=D0=B8=D0=B2=D0=B0=D1=82=D1=8C?= =?UTF-8?q?=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web_proxy.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web_proxy.py b/web_proxy.py index 552a704..f81ca65 100644 --- a/web_proxy.py +++ b/web_proxy.py @@ -11,6 +11,9 @@ from icecream import ic ic.disable() # Выключить отладку class Proxy(http.server.SimpleHTTPRequestHandler): + # Отключение всех сообщений (чтобы не забивать вывод) + def log_message(self, format, *args): + pass def do_GET(self): ic(f"Request for: {self.path}")