R/request.R

Defines functions request_process

request_process <- function(url, handle, path) {
  resp <- curl::curl_fetch_disk(url=url, path=path, handle = handle)
  resp$content <- resp$content
  resp$cookies <- curl::handle_cookies(handle)
  curl::handle_reset(handle)
  return(resp)
}
jeanmarie-eu/puddingR documentation built on July 6, 2017, 12:44 a.m.