刚刚将一些下载切换到 Akamai CDN 网络,我在他们提供的日志文件中看到了一些奇怪的东西。许多条目的状态代码为 000。当我问他们时,他们说 000 是客户端断开连接而不传输整个文件时的状态。由于 000 似乎不是有效的 HTTP 响应代码(来自 RFC),我不得不怀疑这是否正确。
最佳答案
有一个 knowledge base article (需要登录)列出了它们的日志值:
Log Delivery Services (LDS) LDS will show a 000 for any 200 or 206 responses with a client abort: the object was served correctly from the origin or edge, but the end-user terminated the connection/transaction before it completed.
这确实是一个自定义状态,因为标准日志格式不包含可以指示客户端中止的字段。
关于http - 什么是 HTTP 状态代码 000?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9791684/