RFC 7231 - 术语表
RFC 7231 没有独立的术语表章节.
术语参考
RFC 7231 在第 1.2 节 (Syntax Notation) 及整个文档中定义了相关术语. 主要术语定义包括:
核心术语
请参考以下章节了解 HTTP/1.1 的核心概念和术语定义:
- Section 2 - Resources (资源)
- Section 3 - Representations (表示)
- Section 4 - Request Methods (请求方法)
- Section 5 - Request Header Fields (请求 header fields)
- Section 6 - Response Status Codes (响应状态码)
- Section 7 - Response Header Fields (响应 header fields)
相关标准
完整的 HTTP/1.1 术语体系分散在 HTTP/1.1 规范系列中:
- RFC 7230 - Message Syntax and Routing (消息语法与路由)
- RFC 7231 - Semantics and Content (语义与内容) ← 本文档
- RFC 7232 - Conditional Requests (条件请求)
- RFC 7233 - Range Requests (范围请求)
- RFC 7234 - Caching (缓存)
- RFC 7235 - Authentication (认证)
关键概念
本文档中使用的关键概念:
- Resource (资源): 可由 URI 标识的任何信息
- Representation (表示): 资源状态的数据加元数据
- Request Method (请求方法): 指示对资源执行的操作
- Status Code (状态码): 服务器对请求的响应结果
- Safe Methods (安全方法): 只读操作, 不改变服务器状态
- Idempotent Methods (幂等方法): 多次执行与单次执行效果相同
- Content Negotiation (内容协商): 客户端和服务器就最佳表示达成一致的机制