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


petermeissner/robotstxt documentation built on Nov. 17, 2024, 9:50 p.m.