method

fetch

v1_8_6_287 - Show 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 nil, if there’s no header field named key. See <a href="/ruby/Hash/fetch">Hash#fetch</a>