[Pkg-privacy-commits] [xul-ext-monkeysphere] 56/296: msva-xul: explicitly ask the msva to return JSON

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:25 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 10566c2fde6ddfd93d32c9651e218132bc64e832
Author: mike castleman <m at mlcastle.net>
Date:   Thu Feb 4 15:29:42 2010 -0500

    msva-xul: explicitly ask the msva to return JSON
---
 chrome/content/monkeysphere.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/chrome/content/monkeysphere.js b/chrome/content/monkeysphere.js
index 51edba1..84cc5ba 100644
--- a/chrome/content/monkeysphere.js
+++ b/chrome/content/monkeysphere.js
@@ -430,6 +430,7 @@ var monkeysphere = {
     client.setRequestHeader("Content-Type", "application/json");
     client.setRequestHeader("Content-Length", query.length);
     client.setRequestHeader("Connection", "close");
+    client.setRequestHeader("Accept", "application/json");
 
     // 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