Allow a custom agent to be passed in#99
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.