diff options
author | Azul <azul@leap.se> | 2012-06-29 14:49:46 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-06-29 14:49:46 +0200 |
commit | 3c141bd046c7f36f4b2636302eff7cd0445c546d (patch) | |
tree | 8c90bb6e66c8722582591f9f53de82ad2394121d | |
parent | 9d6f2f9f991920f02863464fe4720ced2804f8da (diff) |
Connection Header is not allowed according to xhr spec.
Not sure if this was needed. Tests will throw exceptions when it's in but maybe some legacy browsers require it.
-rw-r--r-- | javascript/srp.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/javascript/srp.js b/javascript/srp.js index cacc6cd..7021bfa 100644 --- a/javascript/srp.js +++ b/javascript/srp.js @@ -109,7 +109,6 @@ function SRP() xhr.open("POST", full_url, true); xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xhr.setRequestHeader("Content-length", params.length); - xhr.setRequestHeader("Connection", "close"); xhr.send(params); } else |