<test-history test='Bosh keep-alive 13'>
<OUTPUT test='Bosh keep-alive 13'>
<body xmlns='http://jabber.org/protocol/httpbind' xmlns:xmpp='urn:xmpp:xbosh' xml:lang='en' rid='1216' content='text/xml; charset=utf-8' to='test-d' ver='1.6'/>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<stream:features><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>CRAM-MD5</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><register xmlns="http://jabber.org/features/iq-register"/><auth xmlns="http://jabber.org/features/iq-auth"/></stream:features>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9IjNKMHVVTnpXdDBXMWdkMmtVeFlTazVkajgzdFM2bTJVNlVPZ2d6V3IiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0iYWxsLXhtcHAtdGVzdCIscmVhbG09InRlc3QtZCIsbm9uY2U9IjNKMHVVTnpXdDBXMWdkMmtVeFlTazVkajgzdFM2bTJVNlVPZ2d6V3IiLG5jPTAwMDAwMDAxLGNub25jZT0iamRKYllRWkt6VE1vSzF4dElSUjIwNnVTbEtkRlNXKy9KRnlpSzNPNyIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT0xYjJjZmE3ODVmNmU0YWZlN2NhNzU3YjA0ZTY3MTRhMyxxb3A9YXV0aCxhdXRoemlkPSJhbGwteG1wcC10ZXN0Ig==</response>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD01OGI1M2FkNGMxM2Q2ZWQzOTYzMTNhYTJlMzViMjNjZQ==</success>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<stream:features><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><register xmlns="http://jabber.org/features/iq-register"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<iq type="result" to="all-xmpp-test@test-d/def-user-resource" id="bind1"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>all-xmpp-test@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<iq type="get" id="privacy_1" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"/></iq>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<iq type="result" to="all-xmpp-test@test-d/def-user-resource" id="privacy_1"><query xmlns="jabber:iq:privacy"/></iq>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<iq type="set" id="privacy_2" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"><list name='public'><item type='jid'	value='tybalt@example.com' action='deny' order='3'/><item type='jid' value='paris@example.org' action='deny' order='5'/><item action='allow' order='68'/></list></query></iq>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<iq type="result" to="all-xmpp-test@test-d/def-user-resource" id="privacy_2"/>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<iq type="get" id="privacy_3" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"/></iq>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<iq type="result" to="all-xmpp-test@test-d/def-user-resource" id="privacy_3"><query xmlns="jabber:iq:privacy"><list name="public"/></query></iq>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<iq type="get" id="privacy_4" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"><list name="public"/></query></iq>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<iq type="result" to="all-xmpp-test@test-d/def-user-resource" id="privacy_4"><query xmlns="jabber:iq:privacy"><list name="public"><item type="jid" order="3" action="deny" value="tybalt@example.com"/><item type="jid" order="5" action="deny" value="paris@example.org"/><item order="68" action="allow"/></list></query></iq>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<iq type="set" id="privacy_5" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"><active name="public"/></query></iq>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<iq type="result" to="all-xmpp-test@test-d/def-user-resource" id="privacy_5"/>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<iq type="get" id="privacy_6" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"/></iq>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<iq type="result" to="all-xmpp-test@test-d/def-user-resource" id="privacy_6"><query xmlns="jabber:iq:privacy"><list name="public"/><active name="public"/></query></iq>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<iq type="set" id="privacy_7" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"><default name="public"/></query></iq>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<iq type="result" to="all-xmpp-test@test-d/def-user-resource" id="privacy_7"/>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<iq type="get" id="privacy_8" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"/></iq>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<iq type="result" to="all-xmpp-test@test-d/def-user-resource" id="privacy_8"><query xmlns="jabber:iq:privacy"><list name="public"/><default name="public"/><active name="public"/></query></iq>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<iq type="set" id="privacy_9" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"><default/></query></iq>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<iq type="result" to="all-xmpp-test@test-d/def-user-resource" id="privacy_9"/>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<iq type="get" id="privacy_10" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"/></iq>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<iq type="result" to="all-xmpp-test@test-d/def-user-resource" id="privacy_10"><query xmlns="jabber:iq:privacy"><list name="public"/><active name="public"/></query></iq>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<iq type="set" id="privacy_11" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"><active/></query></iq>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<iq type="result" to="all-xmpp-test@test-d/def-user-resource" id="privacy_11"/>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<iq type="get" id="privacy_12" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"/></iq>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<iq type="result" to="all-xmpp-test@test-d/def-user-resource" id="privacy_12"><query xmlns="jabber:iq:privacy"><list name="public"/></query></iq>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<iq type="set" id="privacy_13" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"><list name="public"/></query></iq>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<iq type="result" to="all-xmpp-test@test-d/def-user-resource" id="privacy_13"/>
</INPUT>
<OUTPUT test='Bosh keep-alive 13'>
<iq type="get" id="privacy_14" from="all-xmpp-test@test-d/def-user-resource"><query xmlns="jabber:iq:privacy"/></iq>
</OUTPUT>
<INPUT test='Bosh keep-alive 13'>
<iq type="result" to="all-xmpp-test@test-d/def-user-resource" id="privacy_14"><query xmlns="jabber:iq:privacy"><list name="public"/></query></iq>
</INPUT>

</test-history>