Skip to main content

6. IANA Considerations (IANA 考虑)

本规范定义了两种新的互联网媒体类型 [RFC6838]。

6.1. application/problem+json

类型名称 (Type name): application

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

必需参数 (Required parameters):

可选参数 (Optional parameters): 无;不识别的参数应该被忽略

编码考虑 (Encoding considerations): 与 [RFC7159] 相同

安全考虑 (Security considerations): 参见本文档的第 5 节

互操作性考虑 (Interoperability considerations):

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

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

片段标识符考虑 (Fragment identifier considerations): 与 application/json ([RFC7159]) 相同

附加信息 (Additional information):

  • 此类型的已弃用别名 (Deprecated alias names for this type): n/a
  • 魔术数字 (Magic number(s)): n/a
  • 文件扩展名 (File extension(s)): n/a
  • Macintosh 文件类型代码 (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):

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

变更控制者 (Change controller): IESG

6.2. application/problem+xml

类型名称 (Type name): application

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

必需参数 (Required parameters):

可选参数 (Optional parameters): 无;不识别的参数应该被忽略

编码考虑 (Encoding considerations): 与 [RFC7303] 相同

安全考虑 (Security considerations): 参见本文档的第 5 节

互操作性考虑 (Interoperability considerations):

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

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

片段标识符考虑 (Fragment identifier considerations): 与 application/xml 相同(由 [RFC7303] 的第 5 节指定)

附加信息 (Additional information):

  • 此类型的已弃用别名 (Deprecated alias names for this type): n/a
  • 魔术数字 (Magic number(s)): n/a
  • 文件扩展名 (File extension(s)): n/a
  • Macintosh 文件类型代码 (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):

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

变更控制者 (Change controller): IESG