Skip to content

Support Transfer-Encoding: chunked responses in HttpStore #340

@aldenks

Description

@aldenks

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions