diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/unicorn/http_response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/http_response.rb b/lib/unicorn/http_response.rb index 1192d48..e67d2b3 100644 --- a/lib/unicorn/http_response.rb +++ b/lib/unicorn/http_response.rb @@ -44,7 +44,7 @@ module Unicorn out = [ "#{Const::DATE}: #{Time.now.httpdate}\r\n" ] sent = { Const::CONNECTION => true, Const::DATE => true } - headers.each_pair do |key, value| + headers.each do |key, value| if ! sent[key] || ALLOWED_DUPLICATES[key] sent[key] = true out << "#{key}: #{value}\r\n" |