Remove unnecessary request header
This commit is contained in:
parent
c656a7cb9e
commit
e80884cfce
@ -40,7 +40,6 @@ function mark_unwatched(target) {
|
|||||||
xhr.responseType = "json";
|
xhr.responseType = "json";
|
||||||
xhr.timeout = 20000;
|
xhr.timeout = 20000;
|
||||||
xhr.open("GET", url, true);
|
xhr.open("GET", url, true);
|
||||||
xhr.setRequestHeader("Redirect", "false");
|
|
||||||
xhr.send();
|
xhr.send();
|
||||||
|
|
||||||
xhr.onreadystatechange = function() {
|
xhr.onreadystatechange = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user