这个路径怎么了
请求一个不存在的路径:
返回的状态码是多少?
$ 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
请求一个不存在的路径:
返回的状态码是多少?
$ 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
全部评论