npm / minipass-fetch

An implementation of window.fetch in Node.js using Minipass streams
Other
54 stars 11 forks source link

Made `rejectUnauthorized` depend on NODE_TLS_REJECT_UNAUTHORIZED #12

Closed svennergr closed 3 years ago

svennergr commented 3 years ago

Setting NODE_TLS_REJECT_UNAUTHORIZED in node will disable the ssl certificate verification. Minipass-fetch is currently unaware of this option.

References

Fixes #11

svennergr commented 3 years ago

Thanks for the review @isaacs. I updated the PR accordingly.

isaacs commented 3 years ago

Landed on 706d0ad85d47fcf255c2af4bab68b064d470364c

Thanks!