both std.net.curl and hunt http clients fail
drenoob
dlang at none.org
Thu Jun 12 14:36:41 UTC 2025
On Thursday, 12 June 2025 at 13:55:35 UTC, Serg Gini wrote:
> On Thursday, 12 June 2025 at 13:16:13 UTC, drenoob wrote:
>> Hello,
>> Sorry, dear colleagues, while I still presume D be a *stable*
>> and really decent language and very much welcome the fact that
>> at least many libraries are not version 0.0.[whatever small
>> number] (so basically alpha or beta at best), I hope you can
>> understand that this first experience isn't exactly
>> strengthening my hopes for and trust in the D universe ...
>>
>> Or did I make a total noob mistake? If so (or even if not)
>> please kindly let me know how to get some decent http client
>> working.
>
> Not sure about std.net.curl, but hunt library is abandoned and
> not recommended to use.
>
>> Btw. DMD and dub have been freshly installed and should be
>> current.
>>
>> Thank you
>
> I'm not sure about support of "on progress" in other libraries,
> but simple examples can be found in this repo:
> https://github.com/cyrusmsk/d_http_client_benchmark
>
> So some comments:
> 1) Arsd solution - now can have some difficulties with dub
> integration. But can be suggested solution if you are using
> other arsd libraries and OpenD compiler
> 2) Vibe solution - should be solid, but a bit heavy (probably
> will install some other dependencies). Can be suggested if you
> are planning to use Vibe.D framework
> 3) Requests - nice library, currently not maintained very
> actively, but should work. The main issue could be with the
> usage on Windows. So I would recommend to try this solution, if
> you are not on Windows.
So, I shouldn't trust libs that are in the offical dub repo?
Strange and sad..
But I'll certainly look at the link you provided and try what you
told me.
Thank you!
Btw, can anyone point me to a guide re. this forum, you know, how
to format things, how to put code, etc.
And thanks also, for re-strengthening my hope for and assumption
that D probably is what I'm looking for since so long!
More information about the Digitalmars-d
mailing list