Object
# File lib/active_resource/http_mock.rb, line 242 242: def headers_match?(req) 243: # Ignore format header on equality if it's not defined 244: format_header = ActiveResource::Connection::HTTP_FORMAT_HEADER_NAMES[method] 245: if headers[format_header].present? || req.headers[format_header].blank? 246: headers == req.headers 247: else 248: headers.dup.merge(format_header => req.headers[format_header]) == req.headers 249: end 250: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.