about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-07 10:20:24 -0800
committerEric Wong <normalperson@yhbt.net>2011-01-07 10:20:24 -0800
commit360ba90a9a50b5aabd1c65d51034c7ebe77e36ef (patch)
tree7b55d457bc0efc79a2b6f4fd71c9ebb603c88046
parentc162bd4d620bc1421f104d9d0dfba21fb9b43068 (diff)
downloadrainbows-360ba90a9a50b5aabd1c65d51034c7ebe77e36ef.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!
-rw-r--r--lib/rainbows/response.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/response.rb b/lib/rainbows/response.rb
index 11f270f..0212cdb 100644
--- a/lib/rainbows/response.rb
+++ b/lib/rainbows/response.rb
@@ -26,7 +26,7 @@ module Rainbows::Response
           "Status: #{status}\r\n" \
           "Connection: #{alive ? KeepAlive : Close}\r\n"
     headers.each do |key, value|
-      next if %r{\A(?:X-Rainbows-|Date\z|Status\z|Connection\z)}i =~ key
+      next if %r{\A(?:X-Rainbows-|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