fix: убрать Connection: close — Waitress/WSGI запрещает hop-by-hop заголовки
Deploy drhider / validate (push) Waiting to run

This commit is contained in:
2026-07-14 13:28:00 +04:00
parent 204e865aff
commit 5e7319cd42
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ def process_stream(sid):
return Response(
stream_with_context(generate()),
content_type="text/event-stream",
headers={"Cache-Control": "no-cache", "X-Accel-Buffering": "no", "Connection": "close"}
headers={"Cache-Control": "no-cache", "X-Accel-Buffering": "no"}
)