diff options
author | Vladimir Shabanov <vshabanoff@gmail.com> | 2012-08-30 17:04:30 +0400 |
---|---|---|
committer | Vladimir Shabanov <vshabanoff@gmail.com> | 2012-08-30 17:04:30 +0400 |
commit | 632cbd8432b59232ffb4933a565f84f577ab1a02 (patch) | |
tree | 9196e87454fead846eb51e1eb9f56c5d09e21c61 | |
parent | b276d9be4f9a4ada40608c423e7776c2edb1c151 (diff) |
Removed setting of ignored XMLHttpRequest headers.
-rw-r--r-- | lib/js/urweb.js | 4 |
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()); |