HTTP() from std.net.curl hidden state

Ilya Korobitsyn via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Mar 27 05:42:23 PDT 2015


Solved by a workaround:

// before anything else in method call()
http.handle.set(CurlOption.customrequest, cast(void*) null);
http.clearRequestHeaders();

Hope this will help is anyone else has this problem.


More information about the Digitalmars-d-learn mailing list