PunimTag Web Application - Major Feature Release #1

Open
tanyar09 wants to merge 106 commits from dev into master
Showing only changes of commit 5fb66f9a85 - Show all commits

View File

@ -67,6 +67,7 @@ class TestJobStreaming:
response = test_client.get("/api/v1/jobs/stream/test-job-id")
if response.status_code == 200:
# Check Content-Type for SSE
assert response.headers.get("content-type") == "text/event-stream"
# Check Content-Type for SSE (may include charset parameter)
content_type = response.headers.get("content-type", "")
assert content_type.startswith("text/event-stream")