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.

Changeset [6cfb70023a7b102debaa7f1505b173556a285ae7] by Jonathan del Strother

Revision 6cfb70023a7b102debaa7f1505b173556a285ae7, committed by Jonathan del Strother · September 2nd, 2008 @ 09:57 PM

Don't set Content-Length on 304 responses

Commit 8aad8c claimed to do this, but it checks for the 304 status too early, before handle_conditional_get! has overridden it.

[#958 state:resolved]

Signed-off-by: Jonathan del Strother jon.delStrother@bestbefore.tv Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

2 changed files

  • M actionpack/lib/action_controller/response.rb
  • M actionpack/test/controller/render_test.rb