v0.0.3: fix Connection header banned by WSGI PEP 3333
Deploy drhider / validate (push) Waiting to run

This commit is contained in:
2026-07-13 09:25:07 +04:00
parent c35e8da357
commit 76a2d4b7ed
+1 -2
View File
@@ -20,7 +20,7 @@ if _sys_path_root not in sys.path:
sys.path.insert(0, _sys_path_root) sys.path.insert(0, _sys_path_root)
# Версия приложения (меняется при изменениях) # Версия приложения (меняется при изменениях)
VERSION = "0.0.2" VERSION = "0.0.3"
def create_app(): def create_app():
@@ -51,7 +51,6 @@ def create_app():
response.headers["Cache-Control"] = "no-cache, no-store, must-revalidate" response.headers["Cache-Control"] = "no-cache, no-store, must-revalidate"
response.headers["Pragma"] = "no-cache" response.headers["Pragma"] = "no-cache"
response.headers["Expires"] = "0" response.headers["Expires"] = "0"
response.headers["Connection"] = "close"
return response return response
return app return app