tests/testthat/_snaps/req-headers.md

can control which headers to redact

Code
  req_headers(req, a = 1L, b = 2L, .redact = 1L)
Condition
  Error in `req_headers()`:
  ! `.redact` must be a character vector or `NULL`, not the number 1.


Try the httr2 package in your browser

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

httr2 documentation built on Nov. 14, 2023, 5:08 p.m.