> For the complete documentation index, see [llms.txt](https://http3-explained.haxx.se/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://http3-explained.haxx.se/zh/proc/proc-h2.md).

# HTTP/2的经验

HTTP/2规范RFC 7540发布于2015年5月，只比QUIC首次进入IETF早一个月。

HTTP/2的发布为HTTP进化奠定了基础，同时这让HTTP/2工作组认识到迭代更新的HTTP版本会比从第一版到第二版（花费约16年）快得多。

随着HTTP/2的发布，用户和软件堆栈不再假设HTTP是一个序列化的、基于文本的协议。

HTTP-over-QUIC(HTTP/3)建立在HTTP/2的基础上，并从中借鉴了许多概念。由于某些具体的概念已被QUIC所涵盖，所以从HTTP层中移除。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://http3-explained.haxx.se/zh/proc/proc-h2.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
