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