Set CA certificates of HTTP

This commit is contained in:
Carlos Une 2012-12-29 17:41:35 -02:00
parent 5c5fb29949
commit 3ef5d2ad66

View file

@ -2133,6 +2133,11 @@ struct HTTP
p.curl.set(CurlOption.url, url); p.curl.set(CurlOption.url, url);
} }
@property void caInfo(const(char)[] caFile)
{
p.curl.set(CurlOption.cainfo, caFile);
}
// This is a workaround for mixed in content not having its // This is a workaround for mixed in content not having its
// docs mixed in. // docs mixed in.
version (StdDdoc) version (StdDdoc)