Re: [RFC] Under Discussion: Default User-Agent for cURL
| From: | Aleksander Machniak | Date: | Sat, 26 Jun 2021 07:20:31 +0000 |
| Subject: | Re: [RFC] Under Discussion: Default User-Agent for cURL | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-115149@lists.php.net to get a copy of this message | ||
On 25.06.2021 16:33, Michael Maroszek wrote:
>
> Please have a look at the full RFC: https://wiki.php.net/rfc/curl_user_agentè
> ù „á Ö4Åß|
>
> There is one open issue which Tyson raised to find the correct mode for the
> ini option. Either PHP_INI_ALL or PHP_INI_SYSTEM is currently being
> discussed. See here for all details:
> https://github.com/php/php-src/pull/6834/files#r628774432
The existing user_agent setting is PHP_INI_ALL. Please, don't make it
different.
Imo, the fact that curl is not using user_agent setting is a bug and
should be fixed, even with BC break. We really don't need another setting.
--
Aleksander Machniak
Kolab Groupware Developer [https://kolab.org]
Roundcube Webmail Developer [https://roundcube.net]
----------------------------------------------------
PGP: 19359DC1 # Blog: https://kolabian.wordpress.com