class Datadog::Core::HashHeaderCollection

A header collection implementation that looks up headers in a Hash.

def get(header_name)

def get(header_name)
  @hash[header_name.downcase]
end

def initialize(hash)

def initialize(hash)
  super()
  @hash = {}.tap do |res|
    hash.each_pair { |key, value| res[key.downcase] = value }
  end
end