about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/rainbows/http_response.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows/http_response.rb b/lib/rainbows/http_response.rb
index ebaa4e7..6617666 100644
--- a/lib/rainbows/http_response.rb
+++ b/lib/rainbows/http_response.rb
@@ -13,6 +13,7 @@ module Rainbows
         status = CODES[status.to_i] || status
 
         headers.each do |key, value|
+          next if %r{\AX-Rainbows-}i =~ key
           next if SKIP.include?(key.downcase)
           if value =~ /\n/
             out.concat(value.split(/\n/).map! { |v| "#{key}: #{v}\r\n" })