csensix
V2EX  ›  问与答

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

  •  
  •   csensix · Sep 3, 2018 · 1725 views
    This topic created in 2939 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   ·   Privacy   ·   Solana   ·   3126 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 11:23 · PVG 19:23 · LAX 04:23 · JFK 07:23
    ♥ Do have faith in what you're doing.