projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #1245 from danweller18/feature_js_headers
[project/luci.git]
/
modules
/
luci-base
/
htdocs
/
luci-static
/
resources
/
xhr.js
diff --git
a/modules/luci-base/htdocs/luci-static/resources/xhr.js
b/modules/luci-base/htdocs/luci-static/resources/xhr.js
index
701c12a
..
3385f8f
100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/xhr.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/xhr.js
@@
-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);
}