method
fetch
ruby latest stable - Class:
Net::HTTPHeader
fetch(key, *args)public
Returns the header field corresponding to the case-insensitive key. Returns the default value args, or the result of the block, or raises an IndexError if there’s no header field named key See Hash#fetch