summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vladimir Shabanov <vshabanoff@gmail.com>2012-08-30 17:04:30 +0400
committerGravatar Vladimir Shabanov <vshabanoff@gmail.com>2012-08-30 17:04:30 +0400
commitcdff87c707fb473c48a89b9709b81a34679b0ab4 (patch)
tree9196e87454fead846eb51e1eb9f56c5d09e21c61
parente73d61c2df8c3c53bdb30dcfba996fea2e081acc (diff)
Removed setting of ignored XMLHttpRequest headers.
-rw-r--r--lib/js/urweb.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js
index 4645df51..6e67cde7 100644
--- a/lib/js/urweb.js
+++ b/lib/js/urweb.js
@@ -1332,10 +1332,6 @@ function requestUri(xhr, uri, needsSig, isRpc) {
xhr.open("POST", uri, !unloading);
xhr.setRequestHeader("Content-type", "text/plain");
- try {
- xhr.setRequestHeader("Content-length", "0");
- xhr.setRequestHeader("Connection", "close");
- } catch (e) { }
if (client_id != null) {
xhr.setRequestHeader("UrWeb-Client", client_id.toString());