SPB Git forge
28commits 1branches 0releases
7.7 MBsize
maindefault branch
10 days agolast push
Python 66.3% TypeScript 22.7% JavaScript 8.6% HTML 1.4% CSS 0.7%

tests: SSE cache-control expectation

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Simon-Pierre Boucher committed 12 days ago (Sep 12, 2026) parent d3d1e0c

1 changed file +1 −1

modified tests/test_api_public.py +1 −1
@@ -97,7 +97,7 @@ async def test_live_stream_first_bytes(client): # type: ignore[no-untyped-def]
97 97 r = await client.get(f"{V}/live/stream?max_s=1")
98 98 assert r.status_code == 200
99 99 assert r.headers["content-type"].startswith("text/event-stream")
100 − assert r.headers.get("x-accel-buffering") == "no" and r.headers["cache-control"] == "no-store"
100 + assert r.headers.get("x-accel-buffering") == "no" and r.headers["cache-control"] == "no-store, no-transform"
101 101 assert "event: heartbeat" in r.text and '"cursor"' in r.text and "event: end" in r.text
102 102
103 103
104 104