I asked a friend at work about this, and he suggested commenting out
`config.action_dispatch.x_sendfile_header = 'X-Sendfile'` in config/
environments/production.rb. Commenting that line and change my code to
use send_file again works as well.

On Jan 12, 7:17 pm, Oren Teich <[email protected]> wrote:
> send_file has a bug where it sets the headers incorrectly.
>  send_data(readfile) will work better.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to