Update user agent from Mapbox to MapLibreNative (#2367)

This commit is contained in:
Bart Louwers
2024-05-07 23:48:15 +02:00
committed by GitHub
parent d537c7e525
commit d4e2fd9102
6 changed files with 8 additions and 7 deletions

View File

@@ -297,7 +297,7 @@ HTTPRequest::HTTPRequest(HTTPFileSource::Impl *context_, Resource resource_, Fil
#else
handleError(curl_easy_setopt(handle, CURLOPT_ENCODING, "gzip, deflate"));
#endif
handleError(curl_easy_setopt(handle, CURLOPT_USERAGENT, "MapboxGL/1.0"));
handleError(curl_easy_setopt(handle, CURLOPT_USERAGENT, "MapLibreNative/1.0"));
handleError(curl_easy_setopt(handle, CURLOPT_SHARE, context->share));
// Start requesting the information.