Internal helper used by request_with_proxy() and other wrappers that
previously called httr::RETRY(). Wraps httr2 request building, header /
query injection, timeout, and retry policy in a single call.
Usage
.retry_request(
url,
params = list(),
headers = NULL,
timeout = 60,
proxy = NULL
)