A small issue in XEP-0124 "BOSH" -
http://xmpp.org/extensions/xep-0124.html#session-create
Paragraph 7.2 Session Creation Response reads: "The connection manager MAY
include an 'accept' attribute in the session creation response element, to
specify a *space-separated list of the content encodings* it can decompress.
After receiving a session creation response with an 'accept' attribute,
clients MAY include an HTTP Content-Encoding header in subsequent requests
(indicating one of the encodings specified in the 'accept' attribute) and
compress the bodies of the requests accordingly."
Example 2 includes this element, which has an 'accept' attribute that
specifies a *comma-separated* list of content encodings:
<body wait='60'
inactivity='30'
polling='5'
requests='2'
hold='1'
ack='1573741820'
accept='deflate,gzip'
maxpause='120'
sid='SomeSID'
charsets='ISO_8859-1 ISO-2022-JP'
ver='1.6'
from='example.com'
xmlns='http://jabber.org/protocol/httpbind'/
Peter (psa) asked me to post this mismatch here, to make sure that we
clarify this in a way that is consistent with existing implementations.
Openfire does not support the 'accept' attribute at all - either way is fine
by us. ;)
Regards,
Guus