diff options
Diffstat (limited to 'lib/net')
-rw-r--r-- | lib/net/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index 36bc6067b2..f51981477c 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -970,7 +970,7 @@ module Net # :nodoc: end # As for #each_header, except the keys are provided in capitalized form. - def each_capitalized + def canonical_each @header.each do |k,v| yield canonical(k), v end |