julik / zip_kit

Compact ZIP file writing/reading for Ruby, for streaming applications
MIT License
49 stars 5 forks source link

Get rid of implicit chunked/Tempfile bodies #6

Closed julik closed 7 months ago

julik commented 7 months ago

Following the discussion in https://github.com/julik/zip_kit/issues/2 - it is probably better to let the server decide to chunk or not chunk the response. On modern Rails, there is no Rack::ContentLength middleware in place.