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
TypeError: self.response.abort is not a function #1953
Comments
This is how the request looks like:
So it seems they have an extra pair of |
Thanks for your answer. Any idea to "catch" the error ? BR |
request("http://migre.me/sgP5Z", function (error, response, body) {
})
.on('error', function (err) {
console.log(err)
}) But currently there is a bug in request as well. I just pushed a fix here: #1958 |
Thanks but with theses method "on('error'" don't catch the error. I will apply the patch. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The code to generate the error :
After some investigation I found that the redirection generate a bad URI :
Any idea to avoid this issue ?
Thanks
The text was updated successfully, but these errors were encountered: