This project is archived and is in readonly mode.

Changeset [6cfb70023a7b102debaa7f1505b173556a285ae7] 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...

Committed by Jonathan del Strother

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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>