Skip to content
Snippets Groups Projects
Commit 7b82202f authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Less tired.

parent 45fd834a
No related branches found
No related tags found
No related merge requests found
...@@ -220,7 +220,7 @@ HTTPRequest.prototype.Get=function(url, referer, base) { ...@@ -220,7 +220,7 @@ HTTPRequest.prototype.Get=function(url, referer, base) {
&& this.response_headers_parsed.Location.length && this.response_headers_parsed.Location.length
) { ) {
this.follow_redirects--; this.follow_redirects--;
return this.Get(this.response_headers_parsed.Location[0], this.url.url, this.url.url); // To-do: be less tired and think about referer,base return this.Get(this.response_headers_parsed.Location[0], this.url.url, this.url.url);
} }
return(this.body); return(this.body);
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment