= private = protected
[]=(key, val)
Sets the header field corresponding to the case-insensitive key.
# File lib/net/http.rb, line 1453 def []=(key, val) unless val @header.delete key.downcase return val end @header[key.downcase] = [val] end