XEP-0370: Jingle HTTP Transport Method

Abstract:This specification defines two Jingle transport methods for establishing HTTP connections for either uploading or downloading data.
Author:Lance Stout
Copyright:© 1999 - 2016 XMPP Standards Foundation. SEE LEGAL NOTICES.
Status:Experimental
Type:Standards Track
Version:0.1
Last Updated:2016-01-12

WARNING: This Standards-Track document is Experimental. Publication as an XMPP Extension Protocol does not imply approval of this proposal by the XMPP Standards Foundation. Implementation of the protocol described herein is encouraged in exploratory implementations, but production systems are advised to carefully consider whether it is appropriate to deploy implementations of this protocol before it advances to a status of Draft.


Table of Contents


1. Introduction
2. Requirements
3. Jingle Conformance
4. Negotiating HTTP Download
5. Negotiating HTTP Upload
6. Informational Messages
    6.1. Upload Complete
7. Examples
    7.1. Offering a File using HTTP Download
    7.2. Requesting a File using HTTP Download
    7.3. Offering a File using HTTP Upload
    7.4. Requesting a File using HTTP Upload
8. Determining Support
9. Security Considerations
10. IANA Considerations
11. XMPP Registrar Considerations
    11.1. Protocol Namespaces
    11.2. Namespace Versioning
    11.3. Jingle Transport Methods
12. XML Schema
    12.1. urn:xmpp:jingle:transports:http:0
    12.2. urn:xmpp:jingle:transports:http:upload:0

Appendices
    A: Document Information
    B: Author Information
    C: Legal Notices
    D: Relation to XMPP
    E: Discussion Venue
    F: Requirements Conformance
    G: Notes
    H: Revision History


1. Introduction

Jingle (XEP-0166) [1] defines a framework for negotiating and managing out-of-band data sessions over XMPP. In order to provide a flexible framework, the base Jingle specification defines neither data transport methods nor application formats, leaving that up to separate specifications.

The current document defines two transport methods for establishing and managing data exchanges between XMPP entities using the Hyper Text Transfer Protocol (HTTP, see RFC 2616 [2]); one method is for sharing via pulling data from an HTTP URI (http-download), and the other is for sharing via pushing data to an HTTP URI (http-upload).

2. Requirements

Historically, Out-of-Band Data (XEP-0066) [3] has been used to trigger downloading files via HTTP, as well as initiating the use of any other known URI scheme. However, it has several limitations:

As such, this document defines two Jingle mechanisms designed to meet the following requirements:

3. Jingle Conformance

In accordance with Section 12 of XEP-0166, this document specifies the following information related to both the Jingle http-download and http-upload transport methods:

  1. The transport negotiation process for http-download is defined in the Negotiating HTTP Download section of this document, and the negotation process for http-upload is defined in the Negotiating HTTP Upload section of this document.

  2. The semantics of the <transport/> element are defined in the Negotiating HTTP Download and Negotiating HTTP Upload sections of this document.

  3. Successful negotiation of both the http-download and http-upload methods results in use of a streaming transport method suitable for use in Jingle application types where packet loss cannot be tolerated (e.g., file transfer).

  4. Multiple components are not supported by http-download or http-upload.

4. Negotiating HTTP Download

Negotiating HTTP downloads is done by using a <transport/> element with the 'urn:xmpp:jingle:transports:http:0' namespace, (see Namespace Versioning regarding the possibility of incrementing the version number). This element MAY include <candidate/> elements which represent URIs where data can be downloaded. Each <candidate/> element MUST include a 'uri' attribute, and MAY contain <header/> elements whose 'name' attribute is an HTTP header and whose text content is the HTTP header value.

<transport xmlns='urn:xmpp:jingle:transports:http:0'>
  <candidate uri='https://files.montague.example/ERUN8970'>
    <header name='authorization'>Bearer 7472327205ffb74d10b11363044d8c24e3ddba12</header>
  </candidate>
</transport>

Multiple candidates MAY be provided, indicating that there are multiple URIs from which the data can be retrieved (e.g. multiple candidates could be included to list the primary URI of a file along with several known mirrors).

<transport xmlns='urn:xmpp:jingle:transports:http:0'>
  <candidate uri='https://files.montague.example/ERUN8970' />
  <candidate uri='https://mirror1.montague.example/ERUN8970' />
  <candidate uri='https://mirror2.montague.example/ERUN8970' />
</transport>

The generation of candidates is based on the Jingle content senders, and only the parties specified to send data SHOULD provide candidates.

Upon receiving an HTTP download candidate, parties that are to receive data (based on the Jingle content senders) SHOULD use an HTTP GET request to the candidate URI to fetch the data.

Entities MAY initially provide an empty set of candidates if a suitable download URI is not yet known; advertising candidates later is done with transport-info actions.

Table 1: Summary of Roles in Jingle HTTP Download

Content Creator Content Senders Who Sends Download Candidates Who performs HTTP GET
initiator initiator initiator responder
responder responder initiator
both both both
none none none
responder initiator initiator responder
responder responder initiator
both both both
none none none

5. Negotiating HTTP Upload

Negotiating HTTP uploads is done by using a <transport/> element with the 'urn:xmpp:jingle:transports:http:upload:0' namespace, (see Namespace Versioning regarding the possibility of incrementing the version number). This element MAY include a <candidate/> element which represents a URI where data can be uploaded. The <candidate/> element MUST include a 'uri' attribute, and MAY contain <header/> elements whose 'name' attribute is an HTTP header and whose text content is the HTTP header value.

<transport xmlns='urn:xmpp:jingle:transports:http:upload:0'>
  <candidate uri='https://files.montague.example/ERUN8970'>
    <header name='authorization'>Bearer 7472327205ffb74d10b11363044d8c24e3ddba12</header>
  </candidate>
</transport>

The generation of candidates is based on the Jingle content senders, and only the parties specified to receive data SHOULD provide candidates.

Upon receiving an HTTP upload candidate, parties that are to send data (based on the Jingle content senders) SHOULD use an HTTP PUT request to the candidate URI, where the request body is the data to be transferred.

Table 2: Summary of Roles in Jingle HTTP Upload

Content Creator Content Senders Who Sends Upload Candidates Who Performs HTTP PUT
initiator initiator responder initiator
responder initiator responder
both both both
none none none
responder initiator responder initiator
responder initiator responder
both both both
none none none

See Upload Complete for signaling that the upload process has been completed.

6. Informational Messages

6.1 Upload Complete

A common case for using http-upload is to delegate the storage of the uploaded data to an external hosting service, which means that the receiver might not have the direct ability to know when the uploaded data is ready.

As such, when an upload transfer is used, the party uploading content SHOULD signal when the upload has completed by sending a Jingle transport-info event that specifies the content for which uploading has completed, and includes a <transport/> element qualified by the 'urn:xmpp:jingle:transports:http:upload:0' namespace, which in turn contains a <completed /> element.

Example 1. Signaling that the upload has completed

<iq from='romeo@montague.lit/orchard'
    id='uw72g176'
    to='juliet@capulet.lit/balcony'
    type='set'>
  <jingle xmlns='urn:xmpp:jingle:1'
          action='transport-info'>
    <content creator='initiator' name='file-upload'>
      <transport xmlns='urn:xmpp:jingle:transports:http:upload:0'>
        <completed />
      </transport>
    </content>
  </jingle>
</iq>

7. Examples

7.1 Offering a File using HTTP Download

Here, Romeo is offering to send a file to Juliet, so he includes a download URI candidate with his session-initiate.

Example 2. Offering a file with a download URI

<iq from='romeo@montague.lit/orchard'
    id='nzu25s8'
    to='juliet@capulet.lit/balcony'
    type='set'>
  <jingle xmlns='urn:xmpp:jingle:1'
          action='session-initiate'
          initiator='romeo@montague.lit/orchard'
          sid='851ba2'>
    <content creator='initiator' name='a-file-offer' senders='initiator'>
      <description xmlns='urn:xmpp:jingle:apps:file-transfer:4'>
        <file>
          <date>1969-07-21T02:56:15Z</date>
          <desc>This is a test. If this were a real file...</desc>
          <media-type>text/plain</media-type>
          <name>test.txt</name>
          <range/>
          <size>6144</size>
          <hash xmlns='urn:xmpp:hashes:1' algo='sha-1'>552da749930852c69ae5d2141d3766b1</hash>
        </file>
      </description>
      <transport xmlns='urn:xmpp:jingle:transports:http:0'>
        <candidate uri='https://files.montague.example/test.txt' />
      </transport>
    </content>
  </jingle>
</iq>

Juliet accepts the offer, and then performs an HTTP GET to retrieve the file.

Example 3. Accepting an offered file using HTTP download

<iq from='juliet@capulet.lit/balcony'
    id='nzu25s8'
    to='romeo@montague.lit/orchard'
    type='set'>
  <jingle xmlns='urn:xmpp:jingle:1'
          action='session-accept'
          initiator='romeo@montague.lit/orchard'
          sid='851ba2'>
    <content creator='initiator' name='a-file-offer' senders='initiator'>
      <description xmlns='urn:xmpp:jingle:apps:file-transfer:4' />
      <transport xmlns='urn:xmpp:jingle:transports:http:0' />
    </content>
  </jingle>
</iq>

7.2 Requesting a File using HTTP Download

Here Romeo is requesting Juliet to send a file by sharing a download URI.

Example 4. Requesting a file and download URI

<iq from='romeo@montague.lit/orchard'
    id='nzu25s8'
    to='juliet@capulet.lit/balcony'
    type='set'>
  <jingle xmlns='urn:xmpp:jingle:1'
          action='session-initiate'
          initiator='romeo@montague.lit/orchard'
          sid='851ba2'>
    <content creator='initiator' name='a-file-request' senders='responder'>
      <description xmlns='urn:xmpp:jingle:apps:file-transfer:4'>
        <file>
          <hash xmlns='urn:xmpp:hashes:1' algo='sha-1'>552da749930852c69ae5d2141d3766b1</hash>
        </file>
      </description>
      <transport xmlns='urn:xmpp:jingle:transports:http:0' />
    </content>
  </jingle>
</iq>

Juliet accepts the request, and includes a download URI in her session-accept.

Example 5. Returning download URI

<iq from='juliet@capulet.lit/balcony'
    id='nzu25s8'
    to='romeo@montague.lit/orchard'
    type='set'>
  <jingle xmlns='urn:xmpp:jingle:1'
          action='session-accept'
          sid='851ba2'>
    <content creator='initiator' name='a-file-request' senders='responder'>
      <description xmlns='urn:xmpp:jingle:apps:file-transfer:4' />
        <file>
          <date>1969-07-21T02:56:15Z</date>
          <media-type>text/plain</media-type>
          <name>test.txt</name>
          <range/>
          <size>6144</size>
          <hash xmlns='urn:xmpp:hashes:1' algo='sha-1'>552da749930852c69ae5d2141d3766b1</hash>
        </file>
      </description>
      <transport xmlns='urn:xmpp:jingle:transports:http:0'>
        <candidate uri='https://files.capulet.example/test.txt' />
      </transport>
    </content>
  </jingle>
</iq>

Romeo then retrieves the file using an HTTP GET request.

7.3 Offering a File using HTTP Upload

In this case, Romeo is offering a file to Juliet but wishes to upload it to her.

Example 6. Offering to upload a file

<iq from='romeo@montague.lit/orchard'
    id='nzu25s8'
    to='juliet@capulet.lit/balcony'
    type='set'>
  <jingle xmlns='urn:xmpp:jingle:1'
          action='session-initiate'
          initiator='romeo@montague.lit/orchard'
          sid='851ba2'>
    <content creator='initiator' name='a-file-offer' senders='initiator'>
      <description xmlns='urn:xmpp:jingle:apps:file-transfer:4'>
        <file>
          <date>1969-07-21T02:56:15Z</date>
          <desc>This is a test. If this were a real file...</desc>
          <media-type>text/plain</media-type>
          <name>test.txt</name>
          <range/>
          <size>6144</size>
          <hash xmlns='urn:xmpp:hashes:1' algo='sha-1'>552da749930852c69ae5d2141d3766b1</hash>
        </file>
      </description>
      <transport xmlns='urn:xmpp:jingle:transports:http:upload:0' />
    </content>
  </jingle>
</iq>

Juliet accepts, and provides a candidate with an upload URI that includes an authorization header.

Example 7. Accepting the session and providing an upload URI

<iq from='juliet@capulet.lit/balcony'
    id='nzu25s8'
    to='romeo@montague.lit/orchard'
    type='set'>
  <jingle xmlns='urn:xmpp:jingle:1'
          action='session-accept'
          sid='851ba2'>
    <content creator='initiator' name='a-file-request' senders='responder'>
      <description xmlns='urn:xmpp:jingle:apps:file-transfer:4' />
      <transport xmlns='urn:xmpp:jingle:transports:http:upload:0'>
        <candidate uri='https://files.capulet.example/ERIE32430'>
          <header name='authorization'>Bearer 7472327205ffb74d10b11363044d8c24e3ddba12</header>
        </candidate>
      </transport>
    </content>
  </jingle>
</iq>

Romeo now uses an HTTP PUT to upload his file. Once the upload is complete, he informs Juliet so she knows the file is ready for to read.

Example 8. Signaling that the upload has completed

<iq from='romeo@montague.lit/orchard'
    id='uw72g176'
    to='juliet@capulet.lit/balcony'
    type='set'>
  <jingle xmlns='urn:xmpp:jingle:1'
          action='transport-info'
          sid='851ba2'>
    <content creator='initiator' name='file-upload'>
      <transport xmlns='urn:xmpp:jingle:transports:http:upload:0'>
        <completed />
      </transport>
    </content>
  </jingle>
</iq>

7.4 Requesting a File using HTTP Upload

Here Romeo asks Juliet to upload a file.

Example 9. Offering a file with a download URI

<iq from='romeo@montague.lit/orchard'
    id='nzu25s8'
    to='juliet@capulet.lit/balcony'
    type='set'>
  <jingle xmlns='urn:xmpp:jingle:1'
          action='session-initiate'
          initiator='romeo@montague.lit/orchard'
          sid='851ba2'>
    <content creator='initiator' name='a-file-offer' senders='initiator'>
      <description xmlns='urn:xmpp:jingle:apps:file-transfer:4'>
        <file>
          <hash xmlns='urn:xmpp:hashes:1' algo='sha-1'>552da749930852c69ae5d2141d3766b1</hash>
        </file>
      </description>
      <transport xmlns='urn:xmpp:jingle:transports:http:upload:0'>
        <candidate uri='https://files.montague.example/test.txt' />
      </transport>
    </content>
  </jingle>
</iq>

Juliet accepts the session, and begins uploading the file data with an HTTP PUT request.

Example 10. Accepting the session

<iq from='juliet@capulet.lit/balcony'
    id='nzu25s8'
    to='romeo@montague.lit/orchard'
    type='set'>
  <jingle xmlns='urn:xmpp:jingle:1'
          action='session-accept'
          sid='851ba2'>
    <content creator='initiator' name='a-file-request' senders='responder'>
      <description xmlns='urn:xmpp:jingle:apps:file-transfer:4' />
        <file>
          <date>1969-07-21T02:56:15Z</date>
          <media-type>text/plain</media-type>
          <name>test.txt</name>
          <range/>
          <size>6144</size>
          <hash xmlns='urn:xmpp:hashes:1' algo='sha-1'>552da749930852c69ae5d2141d3766b1</hash>
        </file>
      </description>
      <transport xmlns='urn:xmpp:jingle:transports:http:upload:0'>
    </content>
  </jingle>
</iq>

Once the upload is complete, she informs Romeo that she has completed the upload so that he knows he can access the data he requested.

Example 11. Signaling that the upload has completed

<iq from='juliet@capulet.lit/balcony'
    id='uw72g176'
    to='romeo@montague.lit/orchard'
    type='set'>
  <jingle xmlns='urn:xmpp:jingle:1'
          action='transport-info'
          sid='851ba2'>
    <content creator='initiator' name='file-upload'>
      <transport xmlns='urn:xmpp:jingle:transports:http:upload:0'>
        <completed />
      </transport>
    </content>
  </jingle>
</iq>

8. Determining Support

To advertise its support for the Jingle HTTP Transport Method, when replying to Service Discovery (XEP-0030) [6] information requests an entity MUST return URNs for any version of this protocol that the entity supports -- e.g., "urn:xmpp:jingle:transports:http:0" for this version (see Namespace Versioning regarding the possibility of incrementing the version number).

Example 12. Service discovery information request

<iq from='romeo@montague.lit/orchard'
    id='uw72g176'
    to='juliet@capulet.lit/balcony'
    type='get'>
  <query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>

Example 13. Service discovery information response

<iq from='juliet@capulet.lit/balcony'
    id='uw72g176'
    to='romeo@montague.lit/orchard'
    type='result'>
  <query xmlns='http://jabber.org/protocol/disco#info'>
    <feature var='urn:xmpp:jingle:1'/>
    <feature var='urn:xmpp:jingle:transports:http:0'/>
    <feature var='urn:xmpp:jingle:transports:http:upload:0'/>
  </query>
</iq>

In order for an application to determine whether an entity supports this protocol, where possible it SHOULD use the dynamic, presence-based profile of service discovery defined in Entity Capabilities (XEP-0115) [7]. However, if an application has not received entity capabilities information from an entity, it SHOULD use explicit service discovery instead.

9. Security Considerations

HTTP URI candidates SHOULD use the "https://" URI scheme instead of "http://", and entities MAY refuse to process URIs that are not "https://".

Certain HTTP headers can cause unintended behaviour, such as using the 'Upgrade' header to trigger a conversion to WebSocket (RFC 6455 [8]).

10. IANA Considerations

No interaction with the Internet Assigned Numbers Authority (IANA) [9] is required as a result of this document.

11. XMPP Registrar Considerations

11.1 Protocol Namespaces

This specification defines the following XML namespaces:

The XMPP Registrar [10] includes the foregoing namespace in its registry of protocol namespaces at <http://xmpp.org/registrar/namespaces.html>, as described in Section 4 of XMPP Registrar Function (XEP-0053) [11].

11.2 Namespace Versioning

If the protocol defined in this specification undergoes a revision that is not fully backwards-compatible with an older version, the XMPP Registrar shall increment the protocol version number found at the end of the XML namespaces defined herein, as described in Section 4 of XEP-0053.

11.3 Jingle Transport Methods

The XMPP Registrar [12] includes "http-download" in its registry of Jingle transport methods at <http://xmpp.org/registrar/jingle-transports.html>. The registry submission is as follows:

<transport>
  <name>http-download</name>
  <desc>
    A method for negotiating data exchange via HTTP URI retrieval.
  </desc>
  <type>streaming</type>
  <doc>XEP-XXXX</doc>
</transport>

The XMPP Registrar [13] includes "http-upload" in its registry of Jingle transport methods at <http://xmpp.org/registrar/jingle-transports.html>. The registry submission is as follows:

<transport>
  <name>http-upload</name>
  <desc>
    A method for negotiating data exchange via uploading to HTTP URIs.
  </desc>
  <type>streaming</type>
  <doc>XEP-XXXX</doc>
</transport>

12. XML Schema

12.1 urn:xmpp:jingle:transports:http:0

<?xml version='1.0' encoding='UTF-8'?>

<xs:schema
    xmlns:xs='http://www.w3.org/2001/XMLSchema'
    targetNamespace='urn:xmpp:jingle:transports:http:0'
    xmlns='urn:xmpp:jingle:transports:http:0'
    elementFormDefault='qualified'>

  <xs:element name='transport'>
    <xs:complexType>
      <xs:all minOccurs='0'>
        <xs:element name='candidate' type='httpSlotType' maxOccurs='unbounded' />
      </xs:all>
    </xs:complexType>
  </xs:element>

  <xs:complexType name='httpSlotType'>
    <xs:all minOccurs='0'>
      <xs:element ref='header' maxOccurs='unbounded' />
    </xs:all>
    <xs:attribute name='uri' type='xs:anyURI' use='required' />
  </xs:complexType>

  <xs:element name='header'>
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base='xs:string'>
          <xs:attribute name='name' use='required'/>
        </xs:extension>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>

</xs:schema>

12.2 urn:xmpp:jingle:transports:http:upload:0

<?xml version='1.0' encoding='UTF-8'?>

<xs:schema
    xmlns:xs='http://www.w3.org/2001/XMLSchema'
    targetNamespace='urn:xmpp:jingle:transports:http:upload:0'
    xmlns='urn:xmpp:jingle:transports:http:upload:0'
    elementFormDefault='qualified'>

  <xs:element name='transport'>
    <xs:complexType>
      <xs:all minOccurs='0'>
        <xs:element name='completed' maxOccurs='1' />
        <xs:element name='candidate' type='httpSlotType' maxOccurs='unbounded' />
      </xs:all>
    </xs:complexType>
  </xs:element>

  <xs:complexType name='httpSlotType'>
    <xs:all minOccurs='0'>
      <xs:element ref='header' maxOccurs='unbounded' />
    </xs:all>
    <xs:attribute name='uri' type='xs:anyURI' use='required' />
  </xs:complexType>

  <xs:element name='header'>
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base='xs:string'>
          <xs:attribute name='name' use='required'/>
        </xs:extension>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>

</xs:schema>

Appendices


Appendix A: Document Information

Series: XEP
Number: 0370
Publisher: XMPP Standards Foundation
Status: Experimental
Type: Standards Track
Version: 0.1
Last Updated: 2016-01-12
Approving Body: XMPP Council
Dependencies: XMPP Core, XEP-0166
Supersedes: None
Superseded By: None
Short Name: NOT_YET_ASSIGNED
Source Control: HTML
This document in other formats: XML  PDF


Appendix B: Author Information

Lance Stout

Email: lance@andyet.com
JabberID: lance@lance.im


Appendix C: Legal Notices

Copyright

This XMPP Extension Protocol is copyright © 1999 - 2016 by the XMPP Standards Foundation (XSF).

Permissions

Permission is hereby granted, free of charge, to any person obtaining a copy of this specification (the "Specification"), to make use of the Specification without restriction, including without limitation the rights to implement the Specification in a software program, deploy the Specification in a network service, and copy, modify, merge, publish, translate, distribute, sublicense, or sell copies of the Specification, and to permit persons to whom the Specification is furnished to do so, subject to the condition that the foregoing copyright notice and this permission notice shall be included in all copies or substantial portions of the Specification. Unless separate permission is granted, modified works that are redistributed shall not contain misleading information regarding the authors, title, number, or publisher of the Specification, and shall not claim endorsement of the modified works by the authors, any organization or project to which the authors belong, or the XMPP Standards Foundation.

Disclaimer of Warranty

## NOTE WELL: This Specification is provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. ##

Limitation of Liability

In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall the XMPP Standards Foundation or any author of this Specification be liable for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising from, out of, or in connection with the Specification or the implementation, deployment, or other use of the Specification (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if the XMPP Standards Foundation or such author has been advised of the possibility of such damages.

IPR Conformance

This XMPP Extension Protocol has been contributed in full conformance with the XSF's Intellectual Property Rights Policy (a copy of which can be found at <http://xmpp.org/about-xmpp/xsf/xsf-ipr-policy/> or obtained by writing to XMPP Standards Foundation, P.O. Box 787, Parker, CO 80134 USA).

Appendix D: Relation to XMPP

The Extensible Messaging and Presence Protocol (XMPP) is defined in the XMPP Core (RFC 6120) and XMPP IM (RFC 6121) specifications contributed by the XMPP Standards Foundation to the Internet Standards Process, which is managed by the Internet Engineering Task Force in accordance with RFC 2026. Any protocol defined in this document has been developed outside the Internet Standards Process and is to be understood as an extension to XMPP rather than as an evolution, development, or modification of XMPP itself.


Appendix E: Discussion Venue

The primary venue for discussion of XMPP Extension Protocols is the <standards@xmpp.org> discussion list.

Discussion on other xmpp.org discussion lists might also be appropriate; see <http://xmpp.org/about/discuss.shtml> for a complete list.

Errata can be sent to <editor@xmpp.org>.


Appendix F: Requirements Conformance

The following requirements keywords as used in this document are to be interpreted as described in RFC 2119: "MUST", "SHALL", "REQUIRED"; "MUST NOT", "SHALL NOT"; "SHOULD", "RECOMMENDED"; "SHOULD NOT", "NOT RECOMMENDED"; "MAY", "OPTIONAL".


Appendix G: Notes

1. XEP-0166: Jingle <http://xmpp.org/extensions/xep-0166.html>.

2. RFC 2616: Hypertext Transport Protocol -- HTTP/1.1 <http://tools.ietf.org/html/rfc2616>.

3. XEP-0066: Out of Band Data <http://xmpp.org/extensions/xep-0066.html>.

4. XEP-0260: Jingle SOCKS5 Bytestreams Transport Method <http://xmpp.org/extensions/xep-0260.html>.

5. XEP-0261: Jingle In-Band Bytestreams Transport Method <http://xmpp.org/extensions/xep-0261.html>.

6. XEP-0030: Service Discovery <http://xmpp.org/extensions/xep-0030.html>.

7. XEP-0115: Entity Capabilities <http://xmpp.org/extensions/xep-0115.html>.

8. RFC 6455: The WebSocket Protocol <http://tools.ietf.org/html/rfc6455>.

9. The Internet Assigned Numbers Authority (IANA) is the central coordinator for the assignment of unique parameter values for Internet protocols, such as port numbers and URI schemes. For further information, see <http://www.iana.org/>.

10. The XMPP Registrar maintains a list of reserved protocol namespaces as well as registries of parameters used in the context of XMPP extension protocols approved by the XMPP Standards Foundation. For further information, see <http://xmpp.org/registrar/>.

11. XEP-0053: XMPP Registrar Function <http://xmpp.org/extensions/xep-0053.html>.

12. The XMPP Registrar maintains a list of reserved protocol namespaces as well as registries of parameters used in the context of XMPP extension protocols approved by the XMPP Standards Foundation. For further information, see <http://xmpp.org/registrar/>.

13. The XMPP Registrar maintains a list of reserved protocol namespaces as well as registries of parameters used in the context of XMPP extension protocols approved by the XMPP Standards Foundation. For further information, see <http://xmpp.org/registrar/>.


Appendix H: Revision History

Note: Older versions of this specification might be available at http://xmpp.org/extensions/attic/

Version 0.1 (2016-01-12)

Initial published version approved by the XMPP Council.

(XEP Editor (mam))

Version 0.0.2 (2016-01-07)

Renamed <uploaded/> to <completed/>, and made it a child of the <transport/> element in transport-info events.

(ljts)

Version 0.0.1 (2015-07-30)

First draft.

(ljts)

END