httpbin - 协议调试工具
httpstatuses - 协议状态码查询
httpie - cURL-like tool for humans
Fiddler
shentibeitaokong
V2EX  ›  HTTP

http2 在批量请求(get)时,如果自定义请求头会报错(net::ERR_HTTP2_SERVER_REFUSED_STREAM)

  •  
  •   shentibeitaokong · Nov 2, 2020 · 3083 views
    This topic created in 2042 days ago, the information mentioned may be changed or developed.

    发现一个神奇的问题,一次性发送 200 个 http2 请求,如果该请求头( request headers )上有自定义的请求头,其一定会出现部分请求失败,报错net::ERR_HTTP2_SERVER_REFUSED_STREAM,但是如果该请求的请求头是干净的(也就是没有自定义的请求头)其就不会有问题。而且将这些 h2 的请求转成 http1.1 时,该批量请求无论请求头如何都不会有问题!就知道这方面的大佬回答一下吗?或者给点思路!跪谢

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   883 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 21:57 · PVG 05:57 · LAX 14:57 · JFK 17:57
    ♥ Do have faith in what you're doing.