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

2015-03-31 21:53:45 +08:00
 shylocker110

求解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.

3895 次点击
所在节点    问与答
1 条回复
Slienc7
2015-03-31 22:35:37 +08:00
説的應該不是 HTTP協議,而是這個Moz的蜘蛛吧,所以這個801不是HTTP status code
大概意思應該是返回(在哪返回?)801是因爲你的網站不遵循HTTP(S)協議

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/180673

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX