From 3c141bd046c7f36f4b2636302eff7cd0445c546d Mon Sep 17 00:00:00 2001 From: Azul Date: Fri, 29 Jun 2012 14:49:46 +0200 Subject: 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. --- javascript/srp.js | 1 - 1 file changed, 1 deletion(-) 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 -- cgit v1.2.3