Skip to content

add http proxy option to request#5

Open
yms9654 wants to merge 1 commit intobenderjs:masterfrom
yms9654:proxy
Open

add http proxy option to request#5
yms9654 wants to merge 1 commit intobenderjs:masterfrom
yms9654:proxy

Conversation

@yms9654
Copy link

@yms9654 yms9654 commented Jun 13, 2016

Thank you for your sharing.
It is very helpful for me.

When I using bender server command(behind cooperate proxy),
There are errors..

error: [jquery] Error while downloading jquery-1.8.3.js
error: [jquery]  Error: connect ETIMEDOUT 94.31.29.53:80
    at Object.exports._errnoException (util.js:856:11)
    at exports._exceptionWithHostPort (util.js:879:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1062:14)

So I added this code to set a proxy option.

Thanks for your review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant