); // 初始化parser为Request类型
parsed = http_parser_execute(parser, &parser_set, buf, strlen(buf)); // 执行解析过程...This is used when receiving a response to a
* HEAD request which may contain 'Content-Length' or 'Transfer-Encoding..., Expectation Failed) \
XX(421, MISDIRECTED_REQUEST, Misdirected Request)...Methods */
#define HTTP_METHOD_MAP(XX) \
XX(0, DELETE, DELETE) \
XX(1, GET, GET...) \
XX(2, HEAD, HEAD) \
XX(3, POST, POST) \
XX(4, PUT