Skip to content

Commit 02ac088

Browse files
committed
Follow all redirects, including non-GET.
1 parent a42bef5 commit 02ac088

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/http_upload.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ module.exports = function(grunt) {
5858
strictSSL: options.rejectUnauthorized,
5959
method: options.method,
6060
headers: options.headers,
61+
followRedirect: true,
62+
followAllRedirects: true,
6163
formData: reqData
6264
}, function optionalCallback(err, response, data) {
6365
if (err) {

0 commit comments

Comments
 (0)