tomas / needle

Nimble, streamable HTTP client for Node.js. With proxy, iconv, cookie, deflate & multipart support.

Home Page:https://www.npmjs.com/package/needle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support env HTTP_PROXY, HTTPS_PROXY

cgcnrdpd opened this issue · comments

Hello, I'm using https://github.com/Viber/viber-bot-node and the lib is using this lib, but your lib doesn't support proxy in env. Could you update your lib to support HTTP_PROXY and/or HTTPS_PROXY. Thank you so much!

I would also like this!

Sure, no problem. Anyone would like to submit a PR for this?

Would love to also have support for the NO_PROXY env var as well!