What is the name of the domain?
www.cookbook.dev
What is the issue you’re encountering
text/plain response chunking (streaming) does not work anymore because of the zstd setting being enforced
What steps have you taken to resolve the issue?
Issue was resolved by changing “content-type” from “text/plain” to “application/octet-stream” which is technically incorrect/too general for the plain text we output.
What are the steps to reproduce the issue?
- Use something like that to have a minimal web server returning chunked replies: Simple Node.js server which responds in chunked transfer encoding · GitHub
- Disable chrome://flags/#enable-zstd-content-encoding (for arc: arc://flags/#enable-zstd-content-encoding)
- Streaming of reply should be working
- Enable the flag back
- Streaming is not working
- Set content-type to something outside of list at: Content compression | Brotli
- Streaming is working again and zstd does not seem to be used anymore