Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I'm not able to use the HttpStore to read data returned with Transfer-Encoding: chunked. In my case, I'm hoping to read through a proxy and it would be inefficient if the proxy buffered the full file before returning a response so it's using chunked encoding.
Describe the solution you'd like
To read data returned with chunked transfer encoding in the same way as other responses.
Describe alternatives you've considered
- The proxy could buffer the full file, but that increases latency considerably and requires potentially unbounded memory usage in the proxy.
- I considered trying to work around the current check for a valid Content-Length by seeing if I could modify the proxy to return one even if it was using Transfer-Encoding: chunked but that's very clearly not standards compliant and im not sure if it would solve the issue.
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I'm not able to use the HttpStore to read data returned with
Transfer-Encoding: chunked. In my case, I'm hoping to read through a proxy and it would be inefficient if the proxy buffered the full file before returning a response so it's using chunked encoding.Describe the solution you'd like
To read data returned with chunked transfer encoding in the same way as other responses.
Describe alternatives you've considered