On Mon, Jun 16, 2008 at 11:35 PM, George Schreiber <[EMAIL PROTECTED]> wrote:
> Hello,
>
> 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.

This only works with a frontend httpd to intercept the X-Sendfile
response header and send the actual file.

Without a frontend httpd, you're seeing the expected result. Use
firebug to verify.

jeremy
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to