class HTTP::Headers

def to_h

Returns:
  • (Hash) -
def to_h
  Hash[keys.map { |k| [k, self[k]] }]
end