Permalink
Browse files

Ensure the comparison is case insensitive

  • Loading branch information...
Dan Kubb
Dan Kubb committed Jul 24, 2008
1 parent b181861 commit 86403ff46e0dd375240c3091d50144a2b9086928
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rack/lint.rb
View
@@ -365,7 +365,7 @@ def check_content_length(status, headers)
chunked_response = false
headers.each { |key, value|
if key.downcase == 'transfer-encoding'
- chunked_response = value != 'identity'
+ chunked_response = value.downcase != 'identity'
end
}

0 comments on commit 86403ff

Please sign in to comment.