Merge pull request #1245 from danweller18/feature_js_headers
luci-base: Remove request headers that are set automatically by browser
This commit is contained in:
commit
bf407f087c
1 changed files with 0 additions and 2 deletions
|
@ -91,8 +91,6 @@ XHR = function()
|
|||
|
||||
xhr.open('POST', url, true);
|
||||
xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
|
||||
xhr.setRequestHeader('Content-length', code.length);
|
||||
xhr.setRequestHeader('Connection', 'close');
|
||||
xhr.send(code);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue