fix BOSH connection with ejabberd. Fixes #5401

This commit is contained in:
Yann Leboulanger 2009-11-06 17:58:14 +01:00
parent 2061dd2118
commit 697d2a7324
1 changed files with 1 additions and 1 deletions

View File

@ -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):
'''