diff options
author | Dan Kubb <dan.kubb@autopilotmarketing.com> | 2008-07-24 01:40:18 -0700 |
---|---|---|
committer | Dan Kubb <dan.kubb@autopilotmarketing.com> | 2008-07-24 01:40:18 -0700 |
commit | 86403ff46e0dd375240c3091d50144a2b9086928 (patch) | |
tree | 2117604b98d5b1af54aac0497a5dd2668aa78453 | |
parent | b18186149bc9e688fbf4d94c2049e3642d037c08 (diff) | |
download | rack-86403ff46e0dd375240c3091d50144a2b9086928.tar.gz |
Ensure the comparison is case insensitive
-rw-r--r-- | lib/rack/lint.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/lint.rb b/lib/rack/lint.rb index e36cc21f..18094468 100644 --- a/lib/rack/lint.rb +++ b/lib/rack/lint.rb @@ -365,7 +365,7 @@ module Rack chunked_response = false headers.each { |key, value| if key.downcase == 'transfer-encoding' - chunked_response = value != 'identity' + chunked_response = value.downcase != 'identity' end } |