Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't set header to nil on HeaderHash#include?

  • Loading branch information...
commit f6f3c60938ea3b08f3292a2480e6753c293584e5 1 parent 994e77f
Alex Beregszaszi authored rtomayko committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/rack/utils.rb
View
3  lib/rack/utils.rb
@@ -292,7 +292,8 @@ def to_hash
end
def [](k)
- super(@names[k] ||= @names[k.downcase])
+ super(@names[k]) if @names[k]
+ super(@names[k.downcase])
end
def []=(k, v)

1 comment on commit f6f3c60

@Bill

Um thanks for fixing this Ryan. I ran into it just now w/ Set-Cookie not being sent for my Rails app.

Please sign in to comment.
Something went wrong with that request. Please try again.