diff options
author | Mike Abner <mike.abner@gmail.com> | 2010-07-07 14:23:16 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-09-18 20:49:45 +0200 |
commit | 154081f0f74988bdb8979f0447ff5816ab83d8fd (patch) | |
tree | ac4e435f9bc7df7278f39d54dca8fff230a67754 /actionpack | |
parent | 39debfc854c782f263a8340b63c9d8892f92a94b (diff) | |
download | rails-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')
0 files changed, 0 insertions, 0 deletions