Remove unnecessary request header

This commit is contained in:
Omar Roth 2018-11-21 13:18:33 -06:00
parent c656a7cb9e
commit e80884cfce

View File

@ -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() {