method
to_hash
ruby latest stable - Class:
Net::HTTPHeader
to_hash()public
Returns a Hash consisting of header names and array of values. e.g. {“cache-control” => [“private”],
"content-type" => ["text/html"], "date" => ["Wed, 22 Jun 2005 22:11:50 GMT"]}