RFC 9113 - HTTP/2
发布日期: 2022年6月
状态: 标准跟踪 (Standards Track)
作者: M. Thomson (Mozilla), C. Benfield (Apple Inc.)
废弃: RFC 7540, RFC 8740
摘要 (Abstract)
本规范描述了超文本传输协议 (HTTP) 语义的优化表达方式,称为HTTP版本2 (HTTP/2)。HTTP/2通过引入字段压缩 (Field Compression) 并允许在同一连接上进行多个并发交换,实现了更高效的网络资源使用和更低的延迟。
本文档废弃了RFC 7540和RFC 8740。
目录 (Contents)
- 1. Introduction (简介)
- 2. HTTP/2 Protocol Overview (HTTP/2协议概述)
- 2.1 Document Organization
- 2.2 Conventions and Terminology
- 3. Starting HTTP/2 (启动HTTP/2)
- 3.1 HTTP/2 Version Identification
- 3.2 Starting HTTP/2 for "https" URIs
- 3.3 Starting HTTP/2 with Prior Knowledge
- 3.4 HTTP/2 Connection Preface
- 4. HTTP Frames (HTTP帧)
- 4.1 Frame Format
- 4.2 Frame Size
- 4.3 Field Section Compression and Decompression
- 5. Streams and Multiplexing (流与多路复用)
- 5.1 Stream States
- 5.2 Flow Control
- 5.3 Prioritization
- 5.4 Error Handling
- 5.5 Extending HTTP/2
- 6. Frame Definitions (帧定义)
- 6.1 DATA
- 6.2 HEADERS
- 6.3 PRIORITY
- 6.4 RST_STREAM
- 6.5 SETTINGS
- 6.6 PUSH_PROMISE
- 6.7 PING
- 6.8 GOAWAY
- 6.9 WINDOW_UPDATE
- 6.10 CONTINUATION
- 7. Error Codes (错误码)
- 8. Expressing HTTP Semantics in HTTP/2 (在HTTP/2中表达HTTP语义)
- 8.1 HTTP Message Framing
- 8.2 HTTP Fields
- 8.3 HTTP Control Data
- 8.4 Server Push
- 8.5 The CONNECT Method
- 8.6 The Upgrade Header Field
- 8.7 Request Reliability
- 8.8 Examples
- 9. HTTP/2 Connections (HTTP/2连接)
- 9.1 Connection Management
- 9.2 Use of TLS Features
- 10. Security Considerations (安全考虑)
- 10.1 Server Authority
- 10.2 Cross-Protocol Attacks
- 10.3 Intermediary Encapsulation Attacks
- 10.4 Cacheability of Pushed Responses
- 10.5 Denial-of-Service Considerations
- 10.6 Use of Compression
- 10.7 Use of Padding
- 10.8 Privacy Considerations
- 10.9 Remote Timing Attacks
- 11. IANA Considerations (IANA考虑)
- 11.1 HTTP2-Settings Header Field Registration
- 11.2 The h2c Upgrade Token
- 12. References (参考文献)
- 12.1 Normative References
- 12.2 Informative References
附录 (Appendices)
- Appendix A. Prohibited TLS 1.2 Cipher Suites (禁止的TLS 1.2密码套件)
- Appendix B. Changes from RFC 7540 (与RFC 7540的变更)
相关资源
- 官方原文: RFC 9113
- 官方页面: RFC 9113 DataTracker
- 勘误表: RFC Editor Errata