both std.net.curl and hunt http clients fail

Serg Gini kornburn at yandex.ru
Thu Jun 12 13:55:35 UTC 2025


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.





More information about the Digitalmars-d mailing list