From 5a9ec96caf6d5430fcc59afbb52991f1e4250ee9 Mon Sep 17 00:00:00 2001 From: Chris Chua Date: Wed, 4 Jan 2017 00:05:27 -0800 Subject: [PATCH] remove lines that cause tests to fail --- src/util/request-manager.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/util/request-manager.js b/src/util/request-manager.js index 49108965c6..e0e134a2bf 100644 --- a/src/util/request-manager.js +++ b/src/util/request-manager.js @@ -370,9 +370,6 @@ export default class RequestManager { if (res.statusCode === 400 || res.statusCode === 404 || res.statusCode === 401) { body = false; } - if (res.request.followRedirect == false && (res.statusCode == 301 || res.statusCode == 302)) { - body = false; - } resolve(body); } };