Bug 17540 – std.net.curl: HTTP no possibillity to set CURLOPT_NOPROXY
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86
OS
All
Creation time
2017-06-21T16:18:46Z
Last change time
2018-01-05T13:29:55Z
Assigned to
No Owner
Creator
Andre
Comments
Comment #0 by andre — 2017-06-21T16:18:46Z
HTTP does not provide any possibility to set the NO_PROXY value (CURLOPT_NOPROXY). Please add a method to set the NO PROXY value.
Comment #1 by dlang-bugzilla — 2017-06-21T17:29:07Z
You can set arbitrary Curl settings that are not covered by the D wrapper by accessing the .handle property, e.g. "http.handle.set(CurlOption.noproxy, "www.example.com")". I don't think the HTTP wrapper type strives to provide an interface to all the Curl options in the CurlOption enum.
Comment #2 by github-bugzilla — 2017-07-06T18:49:51Z