diff options
Diffstat (limited to 'lib/rack/response.rb')
-rw-r--r-- | lib/rack/response.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rack/response.rb b/lib/rack/response.rb index 92c8c4a6..a7f9bf2b 100644 --- a/lib/rack/response.rb +++ b/lib/rack/response.rb @@ -71,9 +71,9 @@ module Rack if [204, 304].include?(status.to_i) header.delete "Content-Type" - [status.to_i, header.to_hash, []] + [status.to_i, header, []] else - [status.to_i, header.to_hash, self] + [status.to_i, header, self] end end alias to_a finish # For *response |