Rearrange and rename to align with updated HTTP/2 spec #4959
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The diff looks larger than it is; I moved some sections around to more closely resemble the TOC of the HTTP/2 spec, and changed a section title that seemed a bit odd a year later. The relocated sections haven't changed.
Old TOC:
4. HTTP Request Lifecycle
4.1. HTTP Message Exchanges
4.1.1. Field Formatting and Compression
4.1.2. Request Cancellation and Rejection
4.1.3. Malformed Requests and Responses
4.2. The CONNECT Method
4.3. HTTP Upgrade
4.4. Server Push
New TOC:
4. Expressing HTTP Semantics in HTTP/3
4.1. HTTP Message Framing
4.1.1. Request Cancellation and Rejection
4.1.2. Malformed Requests and Responses
4.2. HTTP Fields
4.3. HTTP Control Data
4.3.1. Request Pseudo-Header Fields
4.3.2. Response Pseudo-Header Fields
4.4. The CONNECT Method
4.5. HTTP Upgrade
4.6. Server Push
Comparison H2 TOC:
8. Expressing HTTP Semantics in HTTP/2
8.1. HTTP Message Framing
8.1.1. Malformed Messages
8.2. HTTP Fields
8.2.1. Field Validity
8.2.2. Connection-Specific Header Fields
8.2.3. Compressing the Cookie Header Field
8.3. HTTP Control Data
8.3.1. Request Pseudo-Header Fields
8.3.2. Response Pseudo-Header Fields
8.4. Server Push
8.4.1. Push Requests
8.4.2. Push Responses
8.5. The CONNECT Method
8.6. The Upgrade Header Field
...and then some further sections as well.
Fixes #4953.