diff --git a/dist/index.js b/dist/index.js index 2014633..e92bf3c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3702,7 +3702,6 @@ function asPromise(normalizedOptions) { request._beforeError(new types_1.HTTPError(response)); return; } - request.destroy(); resolve(request.options.resolveBodyOnly ? response.body : response); }); const onError = (error) => {