search for: curldownload

Displaying 1 result from an estimated 1 matches for "curldownload".

Did you mean: curl_download
2018 Dec 04
3
patch to support custom HTTP headers in download.file() and url()
...} + status <- .External(C_download, url, destfile, quiet, mode, + cacheOK, headers) ## needed for Mac GUI from download.packages etc if(!quiet) flush.console() }, "libcurl" = { - status <- .Internal(curlDownload(url, destfile, quiet, mode, cacheOK)) + if (!is.null(headers)) { + headers <- paste0(names(headers), ": ", headers) + } + status <- .Internal(curlDownload(url, destfile, quiet, mode, +...