Skip to content

No Content-Length header in SSE responses

Updated the write_header method to not write Content-Length: 0 for SSE responses ("Content-Type", "text/event-stream"). There is a possible work-around - add the Transfer-Encoding: "chunked" header - but this is not correct as SSE and chunked are two different things.

Merge request reports