method

fetch

v1_8_7_330 - 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 Hash#fetch