跳到主要内容

6. IANA 考虑事项

本规范定义两个新的 Internet 媒体类型 [RFC6838].

6.1. application/problem+json

类型名称 (Type name): application

子类型名称 (Subtype name): problem+json

必需参数 (Required parameters): None

可选参数 (Optional parameters): None; unrecognized parameters should be ignored

编码考虑事项 (Encoding considerations): Same as [RFC7159]

安全考虑事项 (Security considerations): see Section 5 of this document

互操作性考虑事项 (Interoperability considerations): None

已发布规范 (Published specification): RFC 7807 (本文档)

使用该媒体类型的应用 (Applications that use this media type): HTTP

片段标识符考虑事项 (Fragment identifier considerations): Same as for application/json ([RFC7159])

附加信息 (Additional information):

  • Deprecated alias names for this type: n/a
  • Magic number(s): n/a
  • File extension(s): n/a
  • Macintosh file type code(s): n/a

进一步信息联系人和电子邮件地址 (Person and email address to contact for further information): Mark Nottingham <[email protected]>

预期用途 (Intended usage): COMMON

使用限制 (Restrictions on usage): None.

作者 (Author): Mark Nottingham <[email protected]>

变更控制方 (Change controller): IESG

6.2. application/problem+xml

类型名称 (Type name): application

子类型名称 (Subtype name): problem+xml

必需参数 (Required parameters): None

可选参数 (Optional parameters): None; unrecognized parameters should be ignored

编码考虑事项 (Encoding considerations): Same as [RFC7303]

安全考虑事项 (Security considerations): see Section 5 of this document

互操作性考虑事项 (Interoperability considerations): None

已发布规范 (Published specification): RFC 7807 (本文档)

使用该媒体类型的应用 (Applications that use this media type): HTTP

片段标识符考虑事项 (Fragment identifier considerations): Same as for application/xml (as specified by Section 5 of [RFC7303])

附加信息 (Additional information):

  • Deprecated alias names for this type: n/a
  • Magic number(s): n/a
  • File extension(s): n/a
  • Macintosh file type code(s): n/a

进一步信息联系人和电子邮件地址 (Person and email address to contact for further information): Mark Nottingham <[email protected]>

预期用途 (Intended usage): COMMON

使用限制 (Restrictions on usage): None.

作者 (Author): Mark Nottingham <[email protected]>

变更控制方 (Change controller): IESG