fix: improve log reliability and correlation
This commit is contained in:
1 parent
8eea1cb7a4
commit
8a7ca8a654
21 files changed
+698
-91
No files matched your search
@@ -112,6 +112,7 @@ async def test_stream_true_returns_sse(aiohttp_client) -> None:
|
||||
)
|
||||
assert resp.status == 200
|
||||
assert resp.content_type == "text/event-stream"
|
||||
assert resp.headers["X-Request-ID"]
|
||||
|
||||
body = await resp.text()
|
||||
lines = [line for line in body.split("\n") if line.startswith("data: ")]
|
||||
|
||||
Reference in new issue
Block a user