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