fix: Connection: close в after_request — XHR не держат keep-alive после запросов
Deploy drhider / validate (push) Waiting to run

This commit is contained in:
2026-07-12 14:12:43 +04:00
parent adf3002e3d
commit df15f48ecc
+2 -1
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 = "4.0.0" VERSION = "4.0.1"
def create_app(): def create_app():
@@ -51,6 +51,7 @@ 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