Closed evanp closed 11 years ago
For some high-security uses, it's important to only accept HTTPS-encrypted responses.
I think the best way to do this is add an optional options parameter to hostmeta, so you can call it like:
options
hostmeta(hostname, callback)
or
hostmeta(hostname, options, callback)
...where options is a map of flags including:
{httpsOnly: true}
For some high-security uses, it's important to only accept HTTPS-encrypted responses.
I think the best way to do this is add an optional
options
parameter to hostmeta, so you can call it like:hostmeta(hostname, callback)
or
...where options is a map of flags including:
{httpsOnly: true}