我注意到,比如说,goolge 的 404 页面返回 404 状态(http://www.google.com/404.html),而 github 的返回 200(https://github.com/404.html)。错误页面(甚至 503 等)是否应该始终使用正确的状态代码?或者前端服务器应该拦截它们并显示 200ed 错误页面?
http html custom-errors
custom-errors ×1
html ×1
http ×1