Skip to content
Snippets Groups Projects
Commit 697d2a73 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix BOSH connection with ejabberd. Fixes #5401

parent 2061dd21
No related branches found
No related tags found
No related merge requests found
......@@ -707,7 +707,7 @@ def build_http_message(self, httpbody, method='POST'):
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):
'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment