tests/testthat/_snaps/fake_request.md

URL parsing works

Code
  fake_request("http://www.example.com/a/mount/", app_location = "/wrong/mount/")
Condition
  Error in `fake_request()`:
  ! `app_location` must correspond to the beginning of the path

Headers are assigned

Code
  fake_request("http://www.example.com", headers = list(accept_encoding = letters[
    1:4]))
Condition
  Error in `fake_request()`:
  ! `headers[[i]]` must be a scalar object, not a character vector


Try the fiery package in your browser

Any scripts or data that you put into this service are public.

fiery documentation built on Aug. 21, 2025, 5:44 p.m.