Making output_compression work with send_file

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-more-fix-in-output_compression.

Enjoy!

Guy.


Family management on rails: http://www.famundo.com - coming soon!
My development related blog: http://devblog.famundo.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs