-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow a custom agent to be passed in #99
base: master
Are you sure you want to change the base?
Conversation
Also change the `test:node` script to find all test files while `test:browser` still only finds test-* files
@mikeal Do you dislike the principle behind this PR? If so I'll delete it. |
@mikeal Please advise whether you want this PR, in which case I'll update it, or if you don't, in which case I'll simply close it. Thanks. |
Bring my version up to date with master.
Closing this PR owing to a lack of interest. |
Can this topic be reopened? Would appreciate if proxies could be respected with bent |
I'm happy to bring this up to date. But only if @mikeal wants it. |
................................................................................................ |
This change allows a custom agent to be passed into the call to
bent()
. It will permit proxying both by use of a local proxy or a remote proxy. There may be other uses that can make use of a custom agent.I have added one test via a squid server set up only to work against the usual test server.