> For the complete documentation index, see [llms.txt](https://yunzhao.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yunzhao.gitbook.io/notes/computer-science/network-protocol/http.md).

# HTTP

HTTP（HyperText Transfer Protocol），超文本传输协议。是一个在计算机世界里专门在两点之间传输文字、图片、音频、视频等超文本数据的约定和规范。

* 协议：确立了一种计算机之间交流通信的规范，以及相关的各种控制和错误处理方式。
* 传输：用来在两点之间传输数据，双向的，且可以有“中间人”的。
* 超文本：不仅仅是文本，可以包含文字、图片、音频、视频、超链接等，如 HTML。

HTTP/2 基于 Google 的 SPDY，HTTP/3 基于 Google 的 QUIC。

* Web：World Wide Web
* CDN：Content Delivery Network
* 爬虫：Crawler
* 君子协定：robots.txt
* IP：Internet Protocol
* TCP：Transmission Control Protocol
* DNS：Domain Name System
* URI：Uniform Resource Identifier
* URL：Uniform Resource Locator，是 URI 的子集
* SSL：Secure Socket Layer，3.0 时改名 TLS，Transport Layer Security。
