On 11/7/07, Alex Egg <[EMAIL PROTECTED]> wrote: > I'm trying to sent a file to the iphone (which requires byte-range > request support) using the rails send_file method. However, this > fails, I think because of mongrel. I think so because if I send the > iphone a file handled by nginx, it plays it fine. But then when I > serve the file with rails the iphone can't play it.
The other suggestions about using x_send_file or the equivalent are the answer, but just to clarify, Mongrel does not currently support byte-range requests. We have discussed adding support for that, however. Kirk Haines _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users