aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/head.rb
diff options
context:
space:
mode:
authorMike Abner <mike.abner@gmail.com>2010-07-07 14:23:16 -0700
committerJosé Valim <jose.valim@gmail.com>2010-09-18 20:49:45 +0200
commit154081f0f74988bdb8979f0447ff5816ab83d8fd (patch)
treeac4e435f9bc7df7278f39d54dca8fff230a67754 /actionpack/lib/action_controller/metal/head.rb
parent39debfc854c782f263a8340b63c9d8892f92a94b (diff)
downloadrails-154081f0f74988bdb8979f0447ff5816ab83d8fd.tar.gz
rails-154081f0f74988bdb8979f0447ff5816ab83d8fd.tar.bz2
rails-154081f0f74988bdb8979f0447ff5816ab83d8fd.zip
make sure a Content-Length header exists and that the response.body is not nil before trying to call methods on it. Rack does not allow HTTP 204 responses to have a content-length header set. [#5038 state:resolved]
Diffstat (limited to 'actionpack/lib/action_controller/metal/head.rb')
0 files changed, 0 insertions, 0 deletions