Skip to content

Commit

Permalink
Polish docs and news
Browse files Browse the repository at this point in the history
  • Loading branch information
nealrichardson committed Nov 7, 2023
1 parent 8abad34 commit 8ffd589
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

* `capture_requests()` can be used without loading `library(httptest2)` (#22, @kforner)
* `gsub_response()` safely redacts responses with an empty body (#28)
* httr2 compatibility: workarounds for issues in `httr2 < 0.2` have been removed, and adaptations for `httr2 >= 1.0` added
* Tests and examples no longer use `httpbin.org`
* Workarounds for issues in `httr2 < 0.2` have been removed

# httptest2 0.1.0

Expand Down
2 changes: 1 addition & 1 deletion R/httptest2.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@
#' @docType package
#' @importFrom httr2 req_perform request
#' @keywords internal
NULL
"_PACKAGE"
2 changes: 1 addition & 1 deletion R/redact.R
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ gsub_response <- function(response, pattern, replacement, ...) {
#' to `function (response) redact_headers(response, "X-Custom-Header")`. This
#' allows you to do
#' `set_redactor(~ redact_headers(., "X-Custom-Header"))`.
#' @param expr Partial expression to turn into a function
#' @param fmla Partial expression (a `formula`) to turn into a function
#' @return A `function`.
#' @rdname as-redactor
#' @importFrom stats terms
Expand Down
1 change: 1 addition & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Hadley
JSON
OAuth
ORCID
Wickham's
al
anonymize
Expand Down
2 changes: 1 addition & 1 deletion man/as-redactor.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions man/httptest2.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8ffd589

Please sign in to comment.