[Pkg-privacy-commits] [xul-ext-monkeysphere] 29/296: fixing request headers

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:22 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository xul-ext-monkeysphere.

commit 90fc123a443737137187032f77e2121917f81a40
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Sat Jan 9 17:39:19 2010 -0500

    fixing request headers
---
 chrome/content/monkeysphere.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/chrome/content/monkeysphere.js b/chrome/content/monkeysphere.js
index 6b24287..d1f187b 100644
--- a/chrome/content/monkeysphere.js
+++ b/chrome/content/monkeysphere.js
@@ -321,9 +321,9 @@ var monkeysphere = {
 
     //monkeysphere.log("query", "sending query: " + query);
     monkeysphere.log("query", "sending query:");
-    client.setRequestHeader(" Content-type", "application/json");
-    client.setRequestHeader(" Content-length", query.length);
-    client.setRequestHeader(" Connection", "close");
+    client.setRequestHeader("Content-Type", "application/json");
+    client.setRequestHeader("Content-Length", query.length);
+    client.setRequestHeader("Connection", "close");
 
     // setup the state change function
     client.onreadystatechange = function() {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/xul-ext-monkeysphere.git



More information about the Pkg-privacy-commits mailing list