Skip to content

Commit 3ce3a79

Browse files
authoredJan 1, 2019
Revert "Added condition to exclude body from GET requests"
1 parent abb8ce5 commit 3ce3a79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎utils.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ global.REQUEST = exports.request = function(url, flags, data, callback, cookies,
607607
data = '';
608608
}
609609

610-
if (type === 1 && !data && (data === EMPTYOBJECT || data === '' || data === undefined) && options.post)
610+
if (type === 1 && !data && (data === EMPTYOBJECT || data === '' || data === undefined))
611611
data = BUFEMPTYJSON;
612612
}
613613

@@ -6215,4 +6215,4 @@ exports.reader = function() {
62156215
const BUFEMPTYJSON = exports.createBuffer('{}');
62166216

62176217
global.WAIT = exports.wait;
6218-
!global.F && require('./index');
6218+
!global.F && require('./index');

0 commit comments

Comments
 (0)
Please sign in to comment.