When proxying to an API that supports NDJSON, we are currently compressing the data. This usually results in the entire response being buffered and then compressed as one chunk, which is not what you want when working with NDJON data.
We should avoid compressing NDJSON. We can filter out responses with a content-type of application/x-ndjson. Spec: https://github.com/ndjson/ndjson-spec
When proxying to an API that supports NDJSON, we are currently compressing the data. This usually results in the entire response being buffered and then compressed as one chunk, which is not what you want when working with NDJON data.
We should avoid compressing NDJSON. We can filter out responses with a content-type of
application/x-ndjson
. Spec: https://github.com/ndjson/ndjson-spec