both std.net.curl and hunt http clients fail

Dejan Lekic dejan.lekic at gmail.com
Fri Jun 13 15:06:27 UTC 2025


On Thursday, 12 June 2025 at 13:16:13 UTC, drenoob wrote:
>
> 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 ...

If you expected http client to be in the standard library - you 
expected too much. C/C++/Rust do not have it either for a reason 
- it would expand the standard library too much (assuming it 
covers everything).

Whenever I had to do http requests I used the excellent 
dlang-requests library ( https://github.com/ikod/dlang-requests 
). It was a natural choice as I do Python programming on a daily 
basis... dlang-requests is in my top 10 list of all D packages 
just like Python `requests` package is in my top 10 Python 
packages. Highly recommended.


More information about the Digitalmars-d mailing list