DEP0131:旧版 HTTP 解析器


【DEP0131: Legacy HTTP parser】

类型:寿命终止

【Type: End-of-Life】

在 Node.js 12.0.0 之前的版本中默认使用的传统 HTTP 解析器已被弃用,并在 v13.0.0 中移除。在 v13.0.0 之前,可以使用 --http-parser=legacy 命令行标志回退到使用传统解析器。

【The legacy HTTP parser, used by default in versions of Node.js prior to 12.0.0, is deprecated and has been removed in v13.0.0. Prior to v13.0.0, the --http-parser=legacy command-line flag could be used to revert to using the legacy parser.】