6.1 Introduction

Mapping between oneM2M primitives and HTTP messages shall be applied in the following four use cases:

  1. Mapping of request primitive to HTTP request message at the request originator (HTTP client)
  2. Mapping of HTTP request message to request primitive at the request receiver (HTTP server)
  3. Mapping of response primitive to HTTP response message at the request receiver (HTTP server)
  4. Mapping of HTTP response message to response primitive at the request originator (HTTP client)

All four use cases also appear at transit CSEs.

The following clauses specify the mapping between each oneM2M primitive parameter and a corresponding HTTP message field to compose a HTTP request/response message.