wxCurl - UserAgent

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Post Reply
Widgets
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 534
Joined: Thu Jun 01, 2006 4:36 pm
Location: Right here!

wxCurl - UserAgent

Post by Widgets »

From my limited tests, it appears the wxCurl represents itself as user agent "wxWidgets 2.x"

Is it possible to alter this? How? :-)

Since I cannot find any way to do so in wxCurl, I am wondering if I have missed it?
or can curl_easy_setopt() be used directly?

TIA,

Arnold
Environment: Win 10/11 64-bit & Mint 21.1
MSVC Express 2019/2022
wxWidgets 3.2.2
User avatar
eranon
Can't get richer than this
Can't get richer than this
Posts: 867
Joined: Sun May 13, 2012 11:42 pm
Location: France
Contact:

Re: wxCurl - UserAgent

Post by eranon »

Hello Widgets (what a name, huuu:), I don't use wxCurl (but go with libcurl directly), but maybe this old thread may help you : viewtopic.php?f=30&t=15155
[Ind. dev. - wxWidgets 3.0/3.1 under "Win 7 64-bit, TDM64-GCC" + "OS X 10.9, LLVM Clang"]
Widgets
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 534
Joined: Thu Jun 01, 2006 4:36 pm
Location: Right here!

Re: wxCurl - UserAgent

Post by Widgets »

eranon wrote:Hello Widgets (what a name, huuu:), I don't use wxCurl (but go with libcurl directly), but maybe this old thread may help you : viewtopic.php?f=30&t=15155
Thank you for the link.
As it is, I have abandoned wxCurl and that particular project is working well enough for now.
Just the same, the link might be useful for others
Widgets ;-)
Environment: Win 10/11 64-bit & Mint 21.1
MSVC Express 2019/2022
wxWidgets 3.2.2
Post Reply