diff options
author | Sho Ito <i.sho.0628@gmail.com> | 2019-08-21 23:45:09 +0900 |
---|---|---|
committer | Sho Ito <i.sho.0628@gmail.com> | 2019-08-21 23:45:09 +0900 |
commit | ff03f1f2a16859d9a03a8c2c36c5af328b799c2a (patch) | |
tree | 602a3b62dabee9a69be0a5e6b3b0a40eab3c5dcc | |
parent | 29e9aeb63cdebe49682ea0cf9ef423007ac1d738 (diff) | |
download | rack-ff03f1f2a16859d9a03a8c2c36c5af328b799c2a.tar.gz |
revert a freeze method
-rw-r--r-- | lib/rack/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/utils.rb b/lib/rack/utils.rb index 612e37cf..43d70a85 100644 --- a/lib/rack/utils.rb +++ b/lib/rack/utils.rb @@ -447,7 +447,7 @@ module Rack end def []=(k, v) - canonical = k.downcase + canonical = k.downcase.freeze delete k if @names[canonical] && @names[canonical] != k # .delete is expensive, don't invoke it unless necessary @names[canonical] = k super k, v |