# File lib/typhoeus/remote.rb, line 122
    def check_unexpected_headers!(response_args, options)
      bad_headers = {}
      response_args[:unexpected_headers].each do |key, value|
        if (options[:headers][key] && value == :anything) ||
           (options[:headers][key] == value)
          bad_headers[key] = [value, options[:headers][key]]
        end
      end

      unless bad_headers.empty?
        raise headers_error_summary(response_args, options, bad_headers, 'did not expect')
      end
    end