request assistance resolving curl error
confuzzled
con at fuzzled.com
Wed Mar 27 07:18:33 UTC 2024
On 3/26/24 8:44 PM, Andrea Fontana wrote:
> On Tuesday, 26 March 2024 at 07:13:24 UTC, confuzzled wrote:
>
> I think you should use the HTTP interface, did you check this docs?
> https://dlang.org/phobos/std_net_curl.html#.HTTP
> https://dlang.org/phobos/std_net_curl.html#.HTTP.addRequestHeader
>
>
> Andrea
Thanks Andrea. I noticed it and even tried HTTP before but could not
find a means for setting CurlOptions. As a result, I chose to stick with
Curl. Following your comment, however, I went back and combed the source
and found it buried in HTTP.handle.
Thanks again.
--confuzzled
More information about the Digitalmars-d-learn
mailing list