csensix
V2EX  ›  问与答

网站到期关闭, F12 查看返回 304, Python requests 返回结果 200

  •  
  •   csensix · Sep 3, 2018 · 1570 views
    This topic created in 2828 days ago, the information mentioned may be changed or developed.
    F12 查看 Network headers 显示如下:
    Request Method: GET
    Status Code: 304 Not Modified

    但通过 Python requests 库的 get 方法获取的 status_code 一直是 200。

    请问这是什么原因?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5582 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 08:20 · PVG 16:20 · LAX 01:20 · JFK 04:20
    ♥ Do have faith in what you're doing.