Support for environment driven enabling of HTTP(S) proxies would be great. I'd propose that they be separate parameters similar to Java. Something along the lines of:
HTTP_PROXY_HOST HTTP_PROXY_PORT (default 80) HTTPS_PROXY_HOST HTTPS_PROXT_PORT (default 443) -- Daniel R. <[email protected]> [http://danielr.neophi.com/] On Mon, Jul 2, 2012 at 7:16 AM, Håvard Stranden <[email protected]> wrote: > OpenID for Node.js (node-openid, http://github.com/havard/node-openid) and > node-oauth (and possibly others) have received a suggestion and pull request > to support proxying outbound HTTP(S) traffic through honoring a HTTP_PROXY > environment variable (see https://github.com/havard/node-openid/issues/83 > for more details). > > The other obvious option would be to allow passing of proxy settings in some > form to functions that do requests. This requires changing the libraries' > APIs. > > Are there any established conventions for proxying outbound HTTP(S) traffic > from a Node.js library? > > If not, please share your thoughts on which of the above approaches you > prefer, as well as suggestions for other approaches. > > -- > Regards, > Håvard Stranden > > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
