lib/rainbows/http_response.rb in rainbows-0.2.0 vs lib/rainbows/http_response.rb in rainbows-0.3.0

- old
+ new

@@ -11,9 +11,10 @@ if Array === out 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" }) else out << "#{key}: #{value}\r\n"