about summary refs log tree commit homepage
path: root/lib/rainbows/response.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/response.rb')
-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 0212cdb..2c517f8 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|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