用于实现 HTTP 服务器的 RFC

RFCs for implementing HTTP server

我正在考虑开始一个业余项目来了解 HTTP 服务器的构建方式。

我开始搜索它,才知道 RFC 文档中提到了规范。

但是还有over 8200 RFCs as of August 2017.

进一步搜索得到了用于 HTTP 的特定 RFC,即 RFC2616 on software engineering stackexchange here. There is a comment that says "In 2014, RFC2616 was replaced by multiple RFCs (7230-7237)."

那么,我们是否需要彻底抛弃RFC2616,转而阅读RFCs(7230-7237)?

我们可以在 RFC2616 上清楚地看到 Obsoleted by RFC 7230, RFC 7231, RFC 7232, RFC 7233, RFC 7234, RFC 7235

那么,构建 HTTP 服务器的 RFC 有哪些?我应该只阅读提到的文档 Obsoleted by 吗?

是的,您只需要 RFC 7230..7236(对于 HTTP/1.1)和 RFC 7540+7541(对于 HTTP/2)。