[ejabberd] BOSH implementation

Stefan Strigler steve at zeank.in-berlin.de
Tue Jul 14 17:20:36 MSD 2009


maybe it's of some help if I post a working example (had to remove
hostnames though).

POST /http-bind/ HTTP/1.1
Content-Type: text/xml; charset=utf-8
Connection: Keep-Alive
Content-Length: 291

<body content='text/xml; charset=utf-8' hold='1' xmlns='http://jabber.org/protocol/httpbind' to='xxxx.xxxxxx.xx' wait='300' rid='421690' route='xmpp:xxxx.xxxxx.xx:5222' secure='false' newkey='6d11cd3689d3b2b4c30faef9bdee21a3c78f39ca' ver='1.6' xmlns:xmpp='urn:xmpp:xbosh' xmpp:version='1.0'/>

Am Sonntag, den 12.07.2009, 12:44 +0200 schrieb Yann Leboulanger:
> Here is the exact answer I get after some minutes:
> HTTP/1.1 400 Bad Request
> Content-Type: text/html; charset=utf-8
> Content-Length: 168
> <?xml version='1.0'?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <h1>400 Bad Request</h1>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

More information about the ejabberd mailing list