[Pkg-javascript-commits] [sockjs-client] 184/434: Use more standard 'text/plain' rather than custom 't' type for xhr

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:12 UTC 2014


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

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit b82cf39478b8008c408b1d4262ecd806d017ab53
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Tue Oct 25 19:50:31 2011 +0100

    Use more standard 'text/plain' rather than custom 't' type for xhr
---
 lib/utils.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/utils.js b/lib/utils.js
index 0e44a62..98480b1 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -74,7 +74,7 @@ var xhrDefaultHeaders = {
     "User-Agent": '',
     "Accept": '',
     "Accept-Language": '',
-    "Content-Type": "T"
+    "Content-Type": "text/plain;charset=UTF-8"
 };
 
 if (navigator &&

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list