[Mongrel] x_send_file sends a 1 byte file

George Schreiber lists at ruby-forum.com
Tue Jun 17 02:35:31 EDT 2008


sorry if creating a dupe...

I'm trying to download files to authenticated users in my app. I've set
up x_send_file. All seems to be correct to me, however when I try to
download any file, I get a 1-byte long file downloaded.

I am getting this already in development - so no Apache, no lighthttpd,
just a mongrel_rails start in the root of my app.

Any help/hint would be appreciated.

Posted via http://www.ruby-forum.com/.

More information about the Mongrel-users mailing list