send_file has a bug where it sets the headers incorrectly. send_data(readfile) will work better.
Oren On Wed, Jan 12, 2011 at 2:49 PM, Raving Genius <[email protected]<rg%[email protected]> > wrote: > Does Heroku support the send_file method? I have an application that > works locally, but not on Heroku. When send_file is invoked on Heroku, > I always get an empty response. According to `heroku logs`, the files > are being sent correctly. > > -- > 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]<heroku%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- 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.
