> 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-tw/proc/proc-h2.md).

# 從HTTP/2得到的經驗

HTTP/2 的規範 RFC 7540 發布於 2015 年 5 月，在 QUIC 首次引入 IETF 的前一個月。

HTTP/2 的發布為 HTTP 進化提供了好的經驗。 這一經驗讓大家相信，迭代更新的 HTTP 版本會比從第一版到第二版（ 花費約16年 ）快得多。

使用 HTTP/2，用戶和軟體堆疊習慣了這樣的想法，不再假設 HTTP 是一個序列化的、基於文本的協定。

QUIC 之上 的 HTTP（ HTTP/3 ）建立在 HTTP/2 基礎之上，並遵循許多相同的概念，不過它們從 HTTP 中移走了一些已經被 QUIC 所包含的規範。

HTTP-over-QUIC 於 2018 年 11 月更名為 HTTP/3。


---

# 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-tw/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.
