class ActionDispatch::Integration::Session

def process_with_kwargs(http_method, path, *args)

def process_with_kwargs(http_method, path, *args)
  if kwarg_request?(args)
    process(http_method, path, *args)
  else
    non_kwarg_request_warning if args.any?
    process(http_method, path, { params: args[0], headers: args[1] })
  end
end