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

Reply via email to