curl and proxy

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Oct 5 01:39:53 PDT 2014


On Saturday, 4 October 2014 at 21:59:43 UTC, notna wrote:
> Cool,thanks.
> Btw., there could be more special chars to encode...replace 
> beside ":"... like / @ and so on... see also 
> http://www.cyberciti.biz/faq/unix-linux-export-variable-http_proxy-with-special-characters/ 
> for the background

Does std.uri.encode() not take care of these either? Anyway, 
according to the documentation [1], it effectively only cares for 
":". Therefore, I removed the calls to encode().

[1] http://curl.haxx.se/libcurl/c/CURLOPT_PROXYUSERPWD.html


More information about the Digitalmars-d-learn mailing list