csensix
V2EX  ›  问与答

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

  •  
  •   csensix · Sep 3, 2018 · 1575 views
    This topic created in 2835 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   ·   949 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:42 · PVG 04:42 · LAX 13:42 · JFK 16:42
    ♥ Do have faith in what you're doing.