[Mongrel] byte-range requests

Kirk Haines wyhaines at gmail.com
Thu Nov 8 14:23:28 EST 2007

On 11/7/07, Alex Egg <eggie5 at gmail.com> 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,

Kirk Haines

More information about the Mongrel-users mailing list