requests module generates " Can't parse uri '' "

cartland example at example.com
Sat Nov 9 00:53:13 UTC 2019


On Friday, 8 November 2019 at 17:01:07 UTC, ikod wrote:
> On Friday, 8 November 2019 at 03:29:41 UTC, cartland wrote:
>> First time D use :)
>>
>> After dub init, I used the example from 
>> https://code.dlang.org/packages/requests and ran "dub add 
>> requests"
>>
>> [...]
>
> If you still stuck with this problem, you can post new issue on 
> github project page, I'll try to solve it.
>
> https://github.com/ikod/dlang-requests

Same on MacOS. Using dmd, ldc, or gdc. I'll raise an issue on 
https://github.com/ikod/dlang-requests.

Even this does it.

import requests;
void main() {
}


More information about the Digitalmars-d-learn mailing list