【问题标题】:Incorrect HTTP Status codeHTTP 状态码不正确
【发布时间】:2017-04-13 15:45:10
【问题描述】:

当页面在浏览器中正常打开时,我在使用下面页面的请求检查链接时收到 404 错误。有人可以帮我了解发生了什么吗?我使用this 服务也遇到了同样的错误。

url = "http://www.dell.com/en-us/learn/assets/corporate~case-studies~en/documents~2014-chitale-dairy-10012962-networking-blades-support.pdf

response = requests.get(url)
print response.status_code

【问题讨论】:

    标签: python-2.7 python-requests http-status-code-404 broken-links


    【解决方案1】:

    似乎Hypertext Transfer Protocol 工作正常!您尝试访问的 pdf 文件不再存在或从未存在过。

    【讨论】:

      猜你喜欢
      • 2020-04-05
      • 2013-12-06
      • 2021-06-14
      • 2011-08-31
      • 1970-01-01
      • 2014-11-23
      • 2014-06-22
      • 2011-12-17
      • 2018-11-07
      相关资源
      最近更新 更多