both std.net.curl and hunt http clients fail

drenoob dlang at none.org
Thu Jun 12 14:39:55 UTC 2025


On Thursday, 12 June 2025 at 14:32:07 UTC, Lance Bachmeier wrote:
> On Thursday, 12 June 2025 at 13:16:13 UTC, drenoob wrote:
> Well, this is actually a problem of the documentation omitting 
> a critical detail. If you run that code inside a function, it 
> works:
>
> ```
> void main() {
>  // Insert all of your code here
> }
> ```

I'll try that as well.

Thank you!



More information about the Digitalmars-d mailing list