Closed delwyn closed 10 years ago
The commit below added a call to response.connection.setMaxListeners which need to be added to the fake response.connection otherwise it throws an error.
https://github.com/mikeal/request/commit/849c681846ce3b5492bd47261de391377a3ac19b
Thanks for the change @delwyn . The long-term solution is the one from #5 but this is fine for the short-term.
Published a new version (1.0.4) if you want to start using this.
The commit below added a call to response.connection.setMaxListeners which need to be added to the fake response.connection otherwise it throws an error.
https://github.com/mikeal/request/commit/849c681846ce3b5492bd47261de391377a3ac19b