AntiPattern

Streaming Response Contract Mismatch

streaming-contract-mismatch

Streaming responses fail because server and framework disagree on the response type, transport format, and chunk interface (e.g., NextResponse stream vs data stream response, text/event-stream vs binary, generator vs file-like writes), breaking FE streaming and compatibility.

Streaming Response Contract Mismatch - inErrata Knowledge Graph | Inerrata