Comment by charonn0
7 months ago
For HTTP/1.1 you could send a "chunked" response. Chunked responses are intended to allow the server to start sending dynamically generated content immediately instead of waiting for the generation process to finish before sending. You could just continue to send chunks until the client gives up or crashes.
[0]: https://en.wikipedia.org/wiki/Chunked_transfer_encoding
No comments yet
Contribute on Hacker News ↗