跳到主要内容

4.1.5. Examples of Invalid Registration Requests

本页保留该章节的 RFC 文本, 并补充文档站点所需的导航元数据.

RFC 文本 (RFC Text)

4.1.5. Examples of Invalid Registration Requests

This section gives examples of registration requests that are invalid but could have been approved under the older procedure in Section 12.3 of [RFC7252].

The examples use Content-Format identifiers 64998 and 64999:

* Unknown Media Type: application/unknown+cbor.
* Existing Media Type with an unknown parameter: application/cose;unknown-parameter=1.
* Existing Media Type with an invalid parameter value: application/cose;cose-type=invalid.
* Existing Media Type with an unknown Content Coding: application/senml+cbor with inflate.
* Duplicate entry with a default Media Type parameter.
* Duplicate entry with the default "identity" Content Coding.
* Duplicate entry with an equivalent parameter value, such as URNs differing only by case where the namespace identifier is case insensitive.

The checklist in Section 4.1.3 is intended to prevent these invalid attempts from succeeding.