You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
strictSSL flag: Validate the server's certificate, and treat it as an error if there are any problems with it. (This includes self-signed certificates.)
ca, key, cert: Just pass-through to the same fields in node's request options.
I'm envisioning something like this:
if(options.strictSSL&&!res.connection.pair.cleartext.authorized){varer=newError(res.connection.pair.cleartext.authorizationError)// abort the request, call cb with the error// do not upload any bytes. this is now a security risk.// maybe should happen even before headers are sent,// since they might include Authorization info?}
The text was updated successfully, but these errors were encountered:
isaacs
added a commit
to isaacs/request
that referenced
this issue
Sep 5, 2011
I'd like to add two options:
strictSSL
flag: Validate the server's certificate, and treat it as an error if there are any problems with it. (This includes self-signed certificates.)ca
,key
,cert
: Just pass-through to the same fields in node's request options.I'm envisioning something like this:
The text was updated successfully, but these errors were encountered: