diff options
-rw-r--r-- | actionpack/lib/action_controller/response.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/lib/action_controller/response.rb b/actionpack/lib/action_controller/response.rb index 671699762d..ccff473df0 100644 --- a/actionpack/lib/action_controller/response.rb +++ b/actionpack/lib/action_controller/response.rb @@ -144,7 +144,6 @@ module ActionController # :nodoc: set_content_length! convert_content_type! convert_language! - convert_expires! convert_cookies! end @@ -226,10 +225,6 @@ module ActionController # :nodoc: headers["Content-Language"] = headers.delete("language") if headers["language"] end - def convert_expires! - headers["Expires"] = headers.delete("") if headers["expires"] - end - def convert_cookies! headers['Set-Cookie'] = Array(headers['Set-Cookie']).compact end |