6. IANA 考量 (IANA Considerations)
本节为与链接相关的元素建立注册表 (registry) 和注册流程.
6.1. Link HTTP 头部注册
Registry: HTTP Message Header Registry Entry: Link Protocol: HTTP Status: Standard
6.2. Link Relation Type Registry
注册表目的
建立 Link Relation Type Registry, 用更广的适用范围取代 Atom 的 "Registry of Link Relations".
6.2.1. 注册流程
要求:
- Designated Expert 审查
- Specification Required (RFC 5226 术语)
- 通常发布为 RFC 或 Open Standard
- 如果已广泛部署, 允许第三方注册
注册模板 (Registration Template):
- Relation Name
- Description
- Reference
- Notes (optional)
- Application Data (optional)
提交流程:
- 发送到
[email protected] - 清楚标注主题, 例如 "NEW RELATION - example"
- 在 14 天内作出决定
- 可向 Application Area Directors 或 IESG 申诉
6.2.2. 初始注册表内容
常见已注册关系:
alternate- 链接上下文的替代资源appendix- 指向附录bookmark- 入口点chapter- 集合中的章节contents- 目录copyright- 版权声明current- 当前版本edit- 可编辑版本first- 序列中的第一个help- 帮助资源icon- 图标表示index- 索引last- 序列中的最后一个next- 序列中的下一个prev/previous- 序列中的上一个self- 指向自身的链接stylesheet- 样式表up- 父级或上级资源
6.3. Link Relation Application Data Registry
目的: 存储关于关系类型的应用专用元数据 (metadata)
示例:
- 浏览器归档行为
- 安全属性
- 性能特征
官方注册表: IANA Link Relations