R/http_was_redirected.R
http_was_redirected.Rd
Check if HTTP redirect occurred
http_was_redirected(response)
an httr response object, e.g. from a call to httr::GET()
logical of length 1 indicating whether or not any redirect happened during the HTTP request