Skip to content

Make sure chunked responses from Rails works ok #42

@paneq

Description

@paneq

https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-core/j5F0LchIaX8

It is problematic for some servers and probably does not work correctly right now

buffer = ""
body.each { |part| buffer << part }
return Response.new(status, headers, buffer)

We could check the Transfer-Encoding header for chunked value and send every chunk separately to m2 (and probably an empty one at the end).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions