mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2025-08-04 02:50:09 +00:00

When impersonating with libcurl, the built-in user agent used for impersonation was overriding and useragent the user had set via CURLOPT_USERAGENT. The fix takes care to specifically handle user agent set with CURLOPT_USERAGENT and use it instead of the built-in one when it is supplied.