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.


r-lib/httr2 documentation built on Jan. 11, 2025, 10:21 a.m.