Guidelines for HTTP-CoAP Mapping Implementations
draft-ietf-core-http-mapping-04

The information below is for an old version of the document
Document Type Active Internet-Draft (core WG)
Last updated 2014-07-04
Replaces draft-castellani-core-http-mapping
Stream IETF
Intended RFC status (None)
Formats pdf htmlized (tools) htmlized bibtex
Reviews
Stream WG state WG Document
Document shepherd None
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
CoRE Working Group                                         A. Castellani
Internet-Draft                                      University of Padova
Intended status: Informational                                 S. Loreto
Expires: January 5, 2015                                        Ericsson
                                                               A. Rahman
                                        InterDigital Communications, LLC
                                                              T. Fossati
                                                          Alcatel-Lucent
                                                                 E. Dijk
                                                        Philips Research
                                                            July 4, 2014

            Guidelines for HTTP-CoAP Mapping Implementations
                    draft-ietf-core-http-mapping-04

Abstract

   This draft provides reference information for HTTP-CoAP protocol
   translation proxy implementation, focusing on the reverse proxy case.
   It details deployment options, defines a template for URI mapping,
   and provides a set of guidelines and considerations related to
   protocol translation.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on January 5, 2015.

Copyright Notice

   Copyright (c) 2014 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents

Castellani, et al.       Expires January 5, 2015                [Page 1]
Internet-Draft              HTTP-CoAP Mapping                  July 2014

   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   4
   3.  Cross-Protocol Usage of URIs  . . . . . . . . . . . . . . . .   4
   4.  Use Cases . . . . . . . . . . . . . . . . . . . . . . . . . .   5
   5.  URI Mapping . . . . . . . . . . . . . . . . . . . . . . . . .   5
     5.1.  URI Terminology . . . . . . . . . . . . . . . . . . . . .   6
     5.2.  Default Mapping . . . . . . . . . . . . . . . . . . . . .   6
       5.2.1.  Optional scheme . . . . . . . . . . . . . . . . . . .   7
       5.2.2.  Encoding Caveats  . . . . . . . . . . . . . . . . . .   7
     5.3.  URI Mapping Template  . . . . . . . . . . . . . . . . . .   7
       5.3.1.  Simple Form . . . . . . . . . . . . . . . . . . . . .   8
       5.3.2.  Enhanced Form . . . . . . . . . . . . . . . . . . . .   9
     5.4.  Discovery . . . . . . . . . . . . . . . . . . . . . . . .  10
       5.4.1.  Examples  . . . . . . . . . . . . . . . . . . . . . .  11
   6.  HTTP-CoAP Reverse Proxy . . . . . . . . . . . . . . . . . . .  12
     6.1.  Proxy Placement . . . . . . . . . . . . . . . . . . . . .  13
     6.2.  Response Code Translations  . . . . . . . . . . . . . . .  14
     6.3.  Media Type mapping  . . . . . . . . . . . . . . . . . . .  16
       6.3.1.  Loose Media Type Mapping  . . . . . . . . . . . . . .  18
       6.3.2.  Internet Media Type to Content Format Mapping
               Algorithm . . . . . . . . . . . . . . . . . . . . . .  18
       6.3.3.  Content Transcoding . . . . . . . . . . . . . . . . .  19
     6.4.  Caching and Congestion Control  . . . . . . . . . . . . .  20
     6.5.  Cache Refresh via Observe . . . . . . . . . . . . . . . .  21
     6.6.  Use of CoAP Blockwise Transfer  . . . . . . . . . . . . .  21
     6.7.  Security Translation  . . . . . . . . . . . . . . . . . .  22
     6.8.  Other guidelines  . . . . . . . . . . . . . . . . . . . .  22
   7.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  23
   8.  Security Considerations . . . . . . . . . . . . . . . . . . .  23
     8.1.  Traffic overflow  . . . . . . . . . . . . . . . . . . . .  24
Show full document text