什么是 HTTP Parser,用在什么地方,有什么作用

What is HTTP Parser, where it is used, what does it do

我正在阅读 C 代码:- https://github.com/joyent/http-parser .但是我不知道 HTTP Parser 是什么意思。你能不能用例子解释一下它的含义,这样我就可以为这个项目做出贡献。

我觉得README.md已经解释的很好了:

https://github.com/joyent/http-parser/blob/master/README.md

HTTP 解析器可以在浏览器和服务器中使用,它从 HTTP 消息中提取以下信息:

1 Header 个字段和值

2 Content-Length

3 请求方式

4 响应状态码

5 Transfer-Encoding

6 HTTP 版本

7 请求 URL

8 条留言body