Solve issue with redirection (now it should follow automatically)
This commit is contained in:
parent
beed932e93
commit
27bdf54782
@ -420,6 +420,7 @@ function modify(options: string|request.Options, reqMethod: string): request.Opt
|
||||
options.jar = j;
|
||||
options.headers = defaultHeaders;
|
||||
options.method = reqMethod;
|
||||
options.followAllRedirects = true;
|
||||
return options;
|
||||
}
|
||||
return {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user