Status Codes

100
Continue--the request can be continued.

101
Switch protocols--the server has switched protocols in an upgrade header.

200
OK-- the request was fulfilled.

201
Created--the request successful and a new resource was created.

202
Accepted--the request has been accepted for processing, but processing is not completed.

203
Non-Authoritative Information--the returned information is only partial.

204
No Content--the request received but no information exists to send back.

205
Reset Content--the request was successful but the User-Agent should reset the document view that caused the request.

206
Partial Content--the partial GET request has been successful.

300
Multiple Choices--the request resource has multiple possibilities, each with different locations.

301
Moved Permanently--the data requested has a new location and the change is permanent.

302
Found--the data requested has a different URL temporarily.

303
See Other--the requested response is at a different URI and should be accessed using a GET command at the given URI.

304
Not Modified--the document has not been modified as expected.

305
Use Proxy--the requested resource can only be accessed through the proxy specified in the location field.

306
No Longer Used--reserved for future use.

307
Redirect Keep Verb--the redirected request keeps the same HTTP verb. HTTP/1.1 behavior.

400
Bad request--syntax problem in the request or it could not be satisfied.

401
Unauthorized--the client is not authorized to access data.

402
Payment required--indicates a charging scheme is in effect.

403
Forbidden--access not required even with authorization.

404
Not found--server could not find the given resource.

405
Method Not Allowed--the HTTP verb is not allowed.

406
Not Acceptable--no responses acceptable to the client were found.

407
Proxy Auth Req--the request first requires authentication with the proxy.

408
Request Timeout--the client filed to sent a request in the time allowed by the server.

409
Conflict--the request was unsuccessful due to a conflict in the state of the resource.

410
Gone--the resource requested is no longer available and o forwarding address is available.

411
Length Required--the server cannot accept the request without a defined content length.

412
Precondition Failed--a precondition specified in one or more Request-Header fields returned false.

413
Request Entity Too Large--the request was unsuccessful because the request entity is larger than the server will allow.

414
Request URI Too Long--the server cannot service the request because the request URI is longer than the server can interpret.

415
Unsupported Media Type--a server refuses a request because the message body is in an inappropriate format.

416
Requested Range Not Satisfiable--the server could not process the client's partial GET request.

417
Expectation Failed--the expectation given in the Expect request-header could not be fulfilled by the server.

449
Retry With--the request should be retried after doing the appropriate action.

500
Internal Error--the server could not fulfill the request because of an unexpected condition.

501
Not implemented--the sever does not support the facility requested.

502
Bad Gateway--the server received an invalid response from the upstream server while trying to fulfill the request.

503
Service Unavailable--the request was unsuccessful to the server being down or overloaded.

504
Gateway timeout--server waited for another service that did not complete in time.

505
HTTP Version Not Supported--the server does not support or is not allowing the HTTP protocol version specified in the request.

转载于:https://www.cnblogs.com/healthy-tree/archive/2012/08/09/2629917.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值