http_was_redirected: Check if HTTP redirect occurred

View source: R/http_was_redirected.R

http_was_redirectedR Documentation

Check if HTTP redirect occurred

Description

Check if HTTP redirect occurred

Usage

http_was_redirected(response)

Arguments

response

an httr response object, e.g. from a call to httr::GET()

Value

logical of length 1 indicating whether or not any redirect happened during the HTTP request


ropensci/robotstxt documentation built on Sept. 3, 2024, 2:32 a.m.