Reading series
Streaming APIs
3 parts, in reading order.
distributed systemsHTTP Chunked Transfer Encoding Explained with curl
Learn what Transfer-Encoding: chunked means in HTTP/1.1, inspect hexadecimal chunk sizes with curl --raw, and see how HTTP/2 and HTTP/3 differ.
Updated · originally
pythonStreaming APIs with FastAPI and Next.js - Part 1
Consume a streaming HTTP response in Next.js with Fetch, ReadableStream, and TextDecoder, then render FastAPI updates as they arrive.
Updated · originally
pythonStreaming APIs with FastAPI and Next.js - Part 2
Build a streaming API with FastAPI's StreamingResponse, send incremental log updates over HTTP, and connect the response to a Next.js frontend.
Updated · originally