about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-07 10:14:46 -0800
committerEric Wong <normalperson@yhbt.net>2011-01-07 10:19:20 -0800
commitec400a537a0947796e108f3593721289661b49dc (patch)
tree9a601224a343264ac4a6a6da80b27fa0597b9c1e /lib
parent5ebd22a9d28fc96c69c09b695d99c1f173ce5a67 (diff)
downloadunicorn-ec400a537a0947796e108f3593721289661b49dc.tar.gz
Rack::Lint already stops apps from using it.  If a developer
insists on it, then users who inspect their HTTP headers can
point and laugh at them for not using Rack::Lint!
Diffstat (limited to 'lib')
-rw-r--r--lib/unicorn/http_response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/http_response.rb b/lib/unicorn/http_response.rb
index 62b3ee9..03d3179 100644
--- a/lib/unicorn/http_response.rb
+++ b/lib/unicorn/http_response.rb
@@ -26,7 +26,7 @@ module Unicorn::HttpResponse
             "Status: #{status}\r\n" \
             "Connection: close\r\n"
       headers.each do |key, value|
-        next if %r{\A(?:Date\z|Status\z|Connection\z)}i =~ key
+        next if %r{\A(?:Date\z|Connection\z)}i =~ key
         if value =~ /\n/
           # avoiding blank, key-only cookies with /\n+/
           buf << value.split(/\n+/).map! { |v| "#{key}: #{v}\r\n" }.join