class Seahorse::Client::Plugins::RestfulBindings::Handler

def extract_header_map(headers, shape)

def extract_header_map(headers, shape)
  prefix = shape.location_name || ''
  hash = {}
  headers.each do |header, value|
    if match = header.match(/^#{prefix}(.+)/i)
      hash[match[1]] = parse_header_value(shape.value, value)
    end
  end
  hash
end