Re: [Rd] dowload.file(method="libcurl") and GET vs. HEAD requests

2016-06-21 Thread Martin Morgan
On 06/21/2016 09:35 PM, Winston Chang wrote: In R 3.2.4, if you ran download.file(method="libcurl"), it issues a HTTP GET request for the file. However, in R 3.3.0, it issues a HTTP HEAD request first, and then a GET requet. This can result in problems when the web server gives an error for a HEA

[Rd] dowload.file(method="libcurl") and GET vs. HEAD requests

2016-06-21 Thread Winston Chang
In R 3.2.4, if you ran download.file(method="libcurl"), it issues a HTTP GET request for the file. However, in R 3.3.0, it issues a HTTP HEAD request first, and then a GET requet. This can result in problems when the web server gives an error for a HEAD request, even if the file is available with a