Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

send_file is broken in dev mode

#4276

We now use Rack::Sendfile for sending files, which doesn't have support for streaming just the file in development mode.

Proposed solution: use a subclass of Rack::Sendfile which can take a header telling it not to set the X-Sendfile header and let the file pass through.

Reported by Yehuda Katz (wycats) · March 26th, 2010 @ 10:26 PM

State: resolved
Milestone: 3.0.2
Assigned to: Yehuda Katz (wycats) Yehuda Katz (wycats)
Importance: High

Activity

  1. José Valim
    José Valim
    • State changed from open to resolved

    March 27th, 2010 @ 12:02 AM

  2. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to High

    October 15th, 2010 @ 11:01 PM