Object
# File lib/active_resource/http_mock.rb, line 272 272: def headers_match?(req) 273: # Ignore format header on equality if it's not defined 274: format_header = ActiveResource::Connection::HTTP_FORMAT_HEADER_NAMES[method] 275: if headers[format_header].present? || req.headers[format_header].blank? 276: headers == req.headers 277: else 278: headers.dup.merge(format_header => req.headers[format_header]) == req.headers 279: end 280: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.