pub fn write_chunked_response_header<W>(
writer: &mut W,
status: u16,
content_type: &str,
) -> Result<(), Error>where
W: Write,Expand description
HTTP chunked transfer encoding helpers. We do not pull in hyper for
the streaming path; the existing SSE handler also hand-rolls its own
HTTP framing, and matching that style keeps the diff narrow.