http常见code(40x)

来源:互联网 发布:微信淘宝群怎么做到的 编辑:程序博客网 时间:2024/06/17 11:58

HTTP Status Code 401: The request has not been applied because it lacks valid authentication credentials for the target resource.

500 Internal Server ErrorThe server encountered an unexpected condition which prevented it from fulfilling the request.(一般来说是网络区域问题,vpn代理问题,或者是程序错误,需要翻阅log文件)

502 Bad Gateway: 

 The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.

403 Forbidden

404 Not Found

401 Unauthorized 未认证(登录)

301 Moved Permanently 转移

200 OK

202 Accepted

304 Not Modified 会有一个标志flag:ETag标志这个内容是更改过还是未更改,若无则可调用缓存内的内容