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