这个路径怎么了

👁️ 2 人浏览 💬 0 人评论 ❤️ 添加收藏

请求一个不存在的路径:

返回的状态码是多少?

$ curl -si http://localhost:8080/missing | head -6
HTTP/1.1 404 Not Found
Server: nginx/1.24.0
Date: Thu, 05 Mar 2026 02:00:00 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 153
Connection: keep-alive
提交你的答案
请登录后提交答案。
去登录
代码编辑器
Ctrl + Enter 运行
本次输入:
输出:

                        
👩‍🏫
AI
💬 题目评论

全部评论