<?xml version="1.0"?>
<!-- These are the examples for XSF XEP-0070: Verifying HTTP Requests via XMPP-->
<stream xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" xml:lang="en"><!-- Example 1-->
GET https://files.shakespeare.lit:9345/missive.html HTTP/1.1
    <!-- Example 2-->
401 Unauthorized HTTP/1.1
WWW-Authenticate: Basic realm="xmpp"
WWW-Authenticate: Digest realm="xmpp", 
                  domain="files.shakespeare.lit", 
                  stale=false, 
                  nonce="ec2cc00f21f71acd35ab9be057970609", 
                  qop="auth", 
                  algorithm="MD5"
    <!-- Example 3-->
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
      <!-- Example 4-->
Authorization: Digest username="juliet@capulet.com",
               realm="xmpp",
               nonce="ec2cc00f21f71acd35ab9be057970609", 
               uri="missive.html",
               qop=auth,
               nc=00000001,
               cnonce="0a4f113b",
               response="6629fae49393a05397450978507c4ef1",
               opaque="5ccc069c403ebaf9f0171e9517f40e41" 
      <!-- Example 5-->
<iq type='get' 
    from='files.shakespeare.lit' 
    to='juliet@capulet.com/balcony' 
    id='ha000'>
  <confirm xmlns='http://jabber.org/protocol/http-auth'
           id='a7374jnjlalasdf82'
           method='GET'
           url='https://files.shakespeare.lit:9345/missive.html'/>
</iq>
    <!-- Example 6-->
<message type='normal'
         from='files.shakespeare.lit' 
         to='juliet@capulet.com'>
  <thread>e0ffe42b28561960c6b12b944a092794b9683a38</thread>
  <body>
    Someone (maybe you) has requested the following file:

       https://files.shakespeare.lit:9345/missive.html.

    The transaction identifier is:

       a7374jnjlalasdf82

    If you wish to confirm the request, please reply
    to this message by typing "OK". If not, please 
    reply with "No".
  </body>
  <confirm xmlns='http://jabber.org/protocol/http-auth'
           id='a7374jnjlalasdf82'
           method='GET'
           url='https://files.shakespeare.lit:9345/missive.html'/>
</message>
    <!-- Example 7-->
<iq type='result' 
    from='juliet@capulet.com/balcony' 
    to='files.shakespeare.lit' 
    id='ha000'/>
    <!-- Example 8-->
<iq type='error' 
    from='juliet@capulet.com/balcony' 
    to='files.shakespeare.lit' 
    id='ha000'>
  <confirm xmlns='http://jabber.org/protocol/http-auth'
           id='a7374jnjlalasdf82'
           method='GET'
           url='https://files.shakespeare.lit:9345/missive.html'/>
  <error code='401' type='auth'>
    <not-authorized xmlns='urn:ietf:params:xml:xmpp-stanzas'/>
  </error>
</iq>
    <!-- Example 9-->
<message from='juliet@capulet.com/balcony'
         to='files.shakespeare.lit'>
  <thread>e0ffe42b28561960c6b12b944a092794b9683a38</thread>
  <confirm xmlns='http://jabber.org/protocol/http-auth'
           id='a7374jnjlalasdf82'
           method='GET'
           url='https://files.shakespeare.lit:9345/missive.html'/>
</message>
    <!-- Example 10-->
<message type='error' 
         from='juliet@capulet.com/balcony'
         to='files.shakespeare.lit'>
  <thread>e0ffe42b28561960c6b12b944a092794b9683a38</thread>
  <confirm xmlns='http://jabber.org/protocol/http-auth'
           id='a7374jnjlalasdf82'
           method='GET'
           url='https://files.shakespeare.lit:9345/missive.html'/>
  <error code='401' type='auth'>
    <not-authorized xmlns='urn:ietf:params:xml:xmpp-stanzas'/>
  </error>
</message>
    <!-- Example 11-->
200 OK HTTP/1.1
Content-Type: text/html
Content-Length: 3032

...
    <!-- Example 12-->
403 Forbidden HTTP/1.1
    </stream>

