Chunked transfer encoding
HTTP/1.1 mechanism to send a response in pieces without knowing the total size up front — required for streaming.
Header: Transfer-Encoding: chunked (excludes Content-Length). Body format: each chunk = hex size + CRLF + data + CRLF, ends with 0\r\n\r\n. Enables: LLM token streaming, SSE (Server-Sent Events), progressive HTML rendering. HTTP/2 and /3 have their own framing and don't need chunked. Some proxies buffer chunks (cancelling the streaming benefit) — use X-Accel-Buffering: no for Nginx.