TooTallNate/proxy-agents

Use `rejectUnauthorized` without proxy URL

eamodio opened this issue · 3 comments

In v5 I am creating a proxy agent for some use-cases where I only needed to set the rejectUnauthorized flag:

new HttpsProxyAgent({ rejectUnauthorized: false })

But in v7, I don't see how to do the same, since the following throws.

new HttpsProxyAgent('', { rejectUnauthorized: false })

How can this be accomplished in v7?

Same +1

I am having the issue with a url too

any solution?