From 76a2d4b7ed0c37d48415662959ec5350440bf0a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Mon, 13 Jul 2026 09:25:07 +0400 Subject: [PATCH] v0.0.3: fix Connection header banned by WSGI PEP 3333 --- site/app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/site/app.py b/site/app.py index 097864e..36cba82 100644 --- a/site/app.py +++ b/site/app.py @@ -20,7 +20,7 @@ if _sys_path_root not in sys.path: sys.path.insert(0, _sys_path_root) # Версия приложения (меняется при изменениях) -VERSION = "0.0.2" +VERSION = "0.0.3" def create_app(): @@ -51,7 +51,6 @@ def create_app(): response.headers["Cache-Control"] = "no-cache, no-store, must-revalidate" response.headers["Pragma"] = "no-cache" response.headers["Expires"] = "0" - response.headers["Connection"] = "close" return response return app