http常见code(40x)

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标志这个内容是更改过还是未更改,若无则可调用缓存内的内容


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值