From 697d2a73246b7acfec2487e8ae4703fcd5262ed2 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 6 Nov 2009 17:58:14 +0100 Subject: [PATCH] fix BOSH connection with ejabberd. Fixes #5401 --- src/common/xmpp/transports_nb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/xmpp/transports_nb.py b/src/common/xmpp/transports_nb.py index 28fd64bdc..704cad170 100644 --- a/src/common/xmpp/transports_nb.py +++ b/src/common/xmpp/transports_nb.py @@ -707,7 +707,7 @@ class NonBlockingHTTP(NonBlockingTCP): headers.append('Connection: Keep-Alive') headers.append('\r\n') headers = '\r\n'.join(headers) - return('%s%s\r\n' % (headers, httpbody)) + return('%s%s' % (headers, httpbody)) def parse_http_message(self, message): '''