csensix
V2EX  ›  问与答

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

  •  
  •   csensix · Sep 3, 2018 · 1655 views
    This topic created in 2881 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   ·   5688 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 59ms · UTC 06:29 · PVG 14:29 · LAX 23:29 · JFK 02:29
    ♥ Do have faith in what you're doing.