From c@@rd|@g@bor @end|ng |rom gm@||@com  Mon May 13 12:54:24 2019
From: c@@rd|@g@bor @end|ng |rom gm@||@com (=?UTF-8?B?R8OhYm9yIENzw6FyZGk=?=)
Date: Mon, 13 May 2019 11:54:24 +0100
Subject: [Rd] read.table() fails with https in R 3.6 but not in R 3.5
In-Reply-To: <e0348883-054d-1f3f-57ed-b58cde29f714@gmail.com>
References: <871s1e883e.fsf@gmx.net>
 <e3d8b66d-cf80-b55e-dedc-067b9db57456@daqana.com>
 <87a7fzdaze.fsf@gmx.net> <e0348883-054d-1f3f-57ed-b58cde29f714@gmail.com>
Message-ID: <CABtg=K=wOEUectke1DSTh9BXOhuRCU_LqtrKWE1AnkEqcxji6g@mail.gmail.com>

Hi Tomas,

On Mon, May 13, 2019 at 11:42 AM Tomas Kalibera
<tomas.kalibera at gmail.com> wrote:
[...]
> This is because (from NEWS:)
>
> The default ?user agent? has been changed when accessing http://
>        and https:// sites using libcurl.  (A site was found which caused
>        libcurl to infinite-loop with the previous default.)

Which site was this? Maybe it can be fixed on their end?

The current behavior is not really ideal, because the `libcurl/x,y,z`
string is not only a default, but as you mention above, anything that
start with `R (` is replaced with it, so it is basically impossible to
send out a UserAgent that starts with `R (`. This was very surprising
to me, and I had to go to the C source code to see why R does not
respect my `HTTPUserAgent` option. Would it make sense to document
this in `?options`?

Actually, the default that includes R's version number seems more
sensible to me. Maybe we can just add `libcurl/x.y.z` to that to work
around that buggy site? I would be happy to test this and send a
patch, if you could let me know which website it was.

Thanks!
Gabor

[...]



[Rd] read.table() fails with https in R 3.6 but not in R 3.5
=?UTF-8?B?R8OhYm9yIENzw6FyZGk=?=