diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-07-16 04:17:28 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-07-16 04:17:28 +0100 |
commit | 5cc3ea6969f047a782fa8ac44530baeef597edb3 (patch) | |
tree | 43c277e05c9caafcb4ff65d9b31ac7d6bfd3974a /actionpack/lib | |
parent | 3343eb428c502006c40368231a154d8f82be97eb (diff) | |
download | rails-5cc3ea6969f047a782fa8ac44530baeef597edb3.tar.gz rails-5cc3ea6969f047a782fa8ac44530baeef597edb3.tar.bz2 rails-5cc3ea6969f047a782fa8ac44530baeef597edb3.zip |
RackResponse should not contain Status header
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/rack_process.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/rack_process.rb b/actionpack/lib/action_controller/rack_process.rb index dfa2b8d0bd..614913fcd9 100644 --- a/actionpack/lib/action_controller/rack_process.rb +++ b/actionpack/lib/action_controller/rack_process.rb @@ -250,7 +250,7 @@ end_msg headers['Content-Language'] = options.delete('language') if options['language'] headers['Expires'] = options.delete('expires') if options['expires'] - @status = options['Status'] || "200 OK" + @status = options.delete('Status') || "200 OK" # Convert 'cookie' header to 'Set-Cookie' headers. # Because Set-Cookie header can appear more the once in the response body, |