Hadley Wickham
Hadley Wickham
I think it would be useful to have something like `delete_cassettes(prefix, type = c("tests", "examples", "vignettes"))` to make it a bit easier to re-record cassettes when needed.
Maybe I'm being unnecessarily "tidy" here, but when I look at my vcr cassettes saved on disk, I see a bunch of headers that I know will never get used....
In a year or so, we can remove `modern_httr2()` and code in the `FALSE` branches.
The claude API is pretty flaky so often returns a 500 when I'm trying to record an actual request. It would be useful to be able to opt-out of vcrs...
* `preserve_exact_body_bytes` -> `raw_body` * `clean_outdated_http_interactions` -> `drop_old_interactions` * `filter_sensitive_data ` -> `hide_secrets` * Deprecate `filter_sensitive_data_regex`
It takes a callback function that manipulates the body.