Internet Engineering Task Force (IETF) K. Ma Request for Comments: 7736 Ericsson Category: Informational December 2015 ISSN: 2070-1721Content Delivery Network Interconnection (CDNI) Media Type Registration
Ma Informational [Page 1]
RFC 7736 CDNI Media Type December 2015
Table of Contents
1. Introduction and Scope
The Content Delivery Network Interconnection (CDNI) working group is developing a set of protocols to enable the interconnection of multiple content delivery networks (CDNs), as discussed in [RFC6770]. The CDNI protocol suite consists of multiple HTTP-based interfaces, many of which transfer various payloads encoded in JSON (JavaScript Object Notation) [RFC7159]. The main interfaces (i.e., CDNI Control interface, CDNI Footprint & Capabilities Advertisement interface, CDNI Request Routing Redirection interface, CDNI Metadata interface, and CDNI Logging interface) are described in [RFC7336]. It is desirable to be able to indicate the type of object carried in the HTTP entity-body without having to register separate media types for each CDNI object. To accomplish this aim, this document defines a single new media type for CDNI that includes a required payload-type parameter. A separate registry of CDNI payload-type parameters is also defined. CDNI protocol specifications may register interface- specific payload types, specifying the payload encoding and parsing semantics for that message (e.g., JSON serialization for a CDNI metadata object). The same payload-type parameter may also be used as references for other purposes (e.g., referencing CDNI metadata objects from CDNI capability advertisement objects).
Ma Informational [Page 2]
RFC 7736 CDNI Media Type December 2015 2. IANA ConsiderationsThis section contains the CDNI media type registration as well as the payload-type parameter registry definition for IANA.
2.1. CDNI Media Type
Type name: application
Ma Informational [Page 3]
RFC 7736 CDNI Media Type December 2015
Interoperability considerations:
Ma Informational [Page 4]
RFC 7736 CDNI Media Type December 2015 2.2. CDNI Payload-Types Parameters RegistryIANA has created a new "CDNI Payload Types" subregistry within the "Content Delivery Network Interconnection (CDNI) Parameters" registry. The "CDNI Payload Types" namespace defines the valid values for the required "ptype" parameter of the "application/cdni" media type. The CDNI payload type is an ASCII string value that consists of only visible (printing) characters but excludes equal signs (=), double quotes ("), and semicolons (;). It will not exceed 256 characters in length. The following Augmented Backus-Naur Form (ABNF) definition of the CDNI payload type is provided for clarity [RFC5234]
Ma Informational [Page 5]
RFC 7736 CDNI Media Type December 2015
o The review will verify that the specification contains sufficient detail about the data encoding (e.g., JSON serialization for new CDNI metadata or capability advertisement objects, or ABNF and description for new CDNI logging file formats) to allow senders and receivers of the new payload type to implement compliant and interoperable payload parsers.
+--------------+---------------+
| Payload Type | Specification |
+--------------+---------------+
+--------------+---------------+
3. Security Considerations
See the portion of Section 2.1 labeled "Security considerations".4. References 4.1. Normative References[RFC5226] Narten, T. and H. Alvestrand, "Guidelines for Writing an
4.2. Informative References
[RFC6770] Bertrand, G., Ed., Stephan, E., Burbridge, T., Eardley,
Ma Informational [Page 6]
RFC 7736 CDNI Media Type December 2015
[RFC7336] Peterson, L., Davie, B., and R. van Brandenburg, Ed.,