Forum: Ruby on Rails Making output_compression work with send_file

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Just S. (Guest)
on 2006-04-04 03:21
(Received via mailing list)
While working with the newly fixed output compression plugin, one of
the devs in my team discovered that it breaks with send_file(). So if
you are using send_file() in your application you must get the fixed
file I've put at: http://devblog.famundo.com/output_compression.rb.

The change is actually in checking for the Content-Disposition header
added by send_file(). See the full writeup in my blog:
http://devblog.famundo.com/articles/2006/04/03/one....

Enjoy!

Guy.

--
Family management on rails: http://www.famundo.com - coming soon!
My development related blog: http://devblog.famundo.com
This topic is locked and can not be replied to.