温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有

http: throw ERR_HTTP_HEADERS_SENT when sending multiple writeHead by marco-ippolito · Pull Request #45508 · nodejs/node · GitHub

来源:www.github.com

Currently it is possible to send multiple writeHead before res.end() and the last one will overwrite the previous headers. With this PR writeHead will throw ERR_HTTP_HEADERS_SENT if sent more than once resolves: #36721

以上为公开页面信息摘要,完整内容请前往原网站阅读。

前往原网站阅读全文

热门推荐记录