V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
shylocker110
V2EX  ›  问与答

求翻译帝 HTTP 协议 801 是什么错误

  •  
  •   shylocker110 · 2015-03-31 21:53:45 +08:00 · 3876 次点击
    这是一个创建于 3529 天前的主题,其中的信息可能已经有所发展或是发生改变。

    求解HTTP协议中的801错误是什么意思?
    8xx Errors

    These errors result from violations of the underlying HTTP or HTTPS protocol. The crawler expects all responses it receives to conform to the HTTP protocol and will typically throw an exception when encountering a protocol-violating response.

    As with 1xx and 2xx errors, these errors generally indicate a badly-misconfigured site that you must fix before it can be crawled effectively.

    801 Response for home page violated HTTP

    If Moz cannot meaningfully interpret a site's response as HTTP, we return an 801 error unless a more specific code is possible. An 801 error indicates a clear protocol violation, but not which aspect of the response violated HTTP.

    Typically, 801 errors are related to issues with the headers or the status line of the HTTP response. Some examples include:

    Missing status lines, headers, or both: Our crawler attempted to interpret a header line as a status line, or a batch of HTML as a set of headers.
    Badly mangled headers or status lines. Status lines have missing or non-numeric status codes; headers contain control characters; etc.
    These responses violate Internet standards and make a site virtually impossible to crawl. To resolve 801 errors, make sure your site's HTTP responses conform to accepted standards.

    1 条回复    2015-03-31 22:35:37 +08:00
    Slienc7
        1
    Slienc7  
       2015-03-31 22:35:37 +08:00
    説的應該不是 HTTP協議,而是這個Moz的蜘蛛吧,所以這個801不是HTTP status code
    大概意思應該是返回(在哪返回?)801是因爲你的網站不遵循HTTP(S)協議
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2709 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 15:37 · PVG 23:37 · LAX 07:37 · JFK 10:37
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.