HTTP status codes(HTTP状态码)

The list of all HTTP status codes their name and their meaning. 所有HTTP状态码的名称及其含义的列表。

1xx informational response (附加信息响应)

100 Continue(继续)

Waiting for the client to emit the body of the request.

等待客户端发出请求主体。

101 Switching Protocols (切换协议)

The server has agreed to change protocol.

服务器已经同意修改协议。

102 Processing(处理中)

The server is processing the request, but no response is available yet. For WebDav.

服务器正在处理请求,但还没有响应。WebDav。

103 Early Hints(预提示)

The server returns some response headers before final HTTP message.

服务器在最终HTTP消息之前返回一些响应头。

2xx success(请求成功)

200 OK

Standard response for successful HTTP requests.

成功HTTP请求的标准响应。

201 Created(已创建)

The request has been fulfilled, resulting in the creation of a new resource.

请求完成,创建了一个新资源。

202 Accepted(已接受)

The request has been accepted for processing, but the processing has not been completed.

请求已被接受处理,但处理尚未完成。

203 Non-Authoritative Information(非授权信息)

The request is successful but the content of the original request has been modified by a transforming proxy. 请求成功,但原始请求的内容已被转换代理修改。

204 No Content(无内容)

The server successfully processed the request and is not returning any content.

服务器指示重新初始化发送此请求的文档视图。

205 Reset Content(重置内容)

The server indicates to reinitialize the document view which sent this request.

206 Partial Content(部分内容)

The server is delivering only part of the resource due to a range header sent by the client.

由于客户端发送了range首部,服务器只交付了部分资源。

207 Multi-Status(多状态)

The message body that follows is an XML message and can contain a number of separate response codes. For WebDav.

接下来的消息体是一个XML消息,可以包含许多单独的响应代码。WebDav。

208 Already Reported(已经报告)

The members of a DAV binding have already been enumerated in a preceding part of the (multistatus) response. For WebDav.

DAV绑定的成员已经在(multistatus)响应的前面部分中枚举。WebDav。

226 IM Used(IM使用)

The server has fulfilled a request for the resource, and the response is a representation of the result. 服务器完成了对资源的请求,响应是结果的表示。

3xx redirection(重定向/跳转)

300 Multiple Choices(多项选择)

Indicates multiple options for the resource that the client may follow.

为客户端可能遵循的资源指定多个选项。

301 Moved Permanently(永久跳转)

This and all future requests should be directed to the given URI.

这和所有未来的请求都应该定向到给定的URI。

302 Found(临时跳转)

Redirect to another URL. This is an example of industry practice contradicting the standard.

重定向到另一个URL。这是行业实践与标准相矛盾的一个例子。

303 See Other(查看其它)

The response to the request can be found under another URI using a GET method.

可以使用GET方法在另一个URI下找到对请求的响应。

304 Not Modified(无修改)

Indicates that the resource has not been modified since the version specified by the request headers.

表示从请求头指定的版本开始,资源就没有被修改过。

305 Use Proxy(使用代理)

The requested resource is available only through a proxy, the address for which is provided in the response.

请求的资源只能通过代理访问,响应中提供了代理的地址。

306 Switch Proxy(切换代理)

No longer used. Originally meant "Subsequent requests should use the specified proxy."

不再使用。最初表示“后续请求应使用指定的代理”。

307 Temporary Redirect(临时重定向)

In this case, the request should be repeated with another URI; however, future requests should still use the original URI.

在这种情况下,应该使用另一个URI重复请求;但是,以后的请求仍然应该使用原始的URI。

308 Permanent Redirect(永久重定向)

The request and all future requests should be repeated using another URI.

请求和所有以后的请求都应该使用另一个URI重复。

4xx client error(客户端错误)

400 Bad Request(请求错误)

The server cannot or will not process the request due to an apparent client error.

由于明显的客户端错误,服务器不能或不愿处理请求。

401 Unauthorized(未授权)

Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided. 类似于禁止的403,但特别适用于需要身份验证但身份验证失败或尚未提供身份验证的情况。

402 Payment Required(支付请求)

Reserved for future use. The original intention was that this code might be used as part of some form of digital cash or micropayment scheme.

留作将来使用的。最初的意图是此代码可能用作某种形式的数字现金或微支付方案的一部分。

403 Forbidden(阻止访问)

The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource.

请求有效,但服务器拒绝处理。用户可能没有资源所需的权限。

404 Not Found(未找到)

The requested resource could not be found but may be available in the future.

请求的资源无法找到,但将来可能可用。

405 Method Not Allowed(方法不被允许)

A request method is not supported for the requested resource.

请求的资源不支持请求方法。

406 Not Acceptable(不被接受)

The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.

根据请求中发送的Accept标头,请求的资源只能生成不可接受的内容。

407 Proxy Authentication Required(代理身份验证)

The client must first authenticate itself with the proxy.

客户端必须首先通过代理进行身份验证。

408 Request Timeout(请求超时)

The server timed out waiting for the request.

服务器等待请求超时。

409 Conflict(冲突)

Indicates that the request could not be processed because of conflict in the request, such as an edit conflict.

表示由于请求中的冲突(例如编辑冲突)而无法处理请求。

410 Gone(丢失)

Indicates that the resource requested is no longer available and will not be available again.

表示请求的资源不再可用,也不会再次可用。

411 Length Required(字段长度请求)

The request did not specify the length of its content, which is required by the requested resource.

请求没有指定其内容的长度,这是该请求的资源所要求的。

412 Precondition Failed(前提条件失败)

The server does not meet one of the preconditions that the requester put on the request.

服务器不满足请求者对请求设置的前提条件之一。

413 Payload Too Large(超出范围)

The request is larger than the server is willing or able to process.

请求超出了服务器的处理能力。

414 URI Too Long(URI过长)

The URI provided was too long for the server to process.

提供的URI太长,服务器无法处理。

415 Unsupported Media Type(不支持该格式)

The request entity has a media type which the server or resource does not support.

请求实体具有服务器或资源不支持的媒体类型。

416 Range Not Satisfiable(超出范围)

The client has asked for a portion of the file, but the server cannot supply that portion.

客户端请求了文件的一部分,但服务器无法提供该部分。

417 Expectation Failed(预期失败)

The server cannot meet the requirements of the Expect request-header field.

服务端无法满足Expect请求头字段的要求。

421 Misdirected Request(被误导的请求)

The request was directed at a server that is not able to produce a response.

请求被重定向到一个无法产生响应的服务器。

422 Unprocessable Entity(实体无法处理)

The request was well-formed but was unable to be followed due to semantic errors.

请求格式没问题,但语义错误无法执行。

423 Locked(锁定)

The resource that is being accessed is locked.

正在访问的资源被锁定。

424 Failed Dependency(依赖失败)

The request failed due to failure of a previous request.

由于前一个请求失败,故请求失败。

425 Too Early(过早请求)

Indicates that the server is unwilling to risk processing a request that might be replayed.

服务器不愿过早处理可能会被重放的请求。

426 Upgrade Required(需要请求)

The client should switch to a different protocol such as TLS/1.0.

客户端应该切换到其他协议,例如TLS/1.0。

428 Precondition Required(需要先决条件)

The origin server requires the request to be conditional.

原生服务端要求这个请求必须有先决条件。

429 Too Many Requests(请求过多)

The user has sent too many requests in a given amount of time.

用户在给定时间内发送了过多的请求。

431 Request Header Fields Too Large(请求表头字段太大)

The server is unwilling to process the request because either an individual header field, or all the header fields collectively, are too large.

服务器不愿意处理请求,因为单个报头字段太大,或者所有报头字段加起来太大。

A server operator has received a legal demand to deny access to a resource or to a set of resources that includes the requested resource.

5xx server error(服务器端错误)

500 Internal Server Error(内部服务错误)

A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.

在服务器端遇到意外或者没有更合适的特定信息时,就会给出这个错误代码

501 Not Implemented(无法实现)

The server either does not recognize the request method, or it lacks the ability to fulfill the request.

服务器要么无法识别请求方法,要么缺乏完成请求的能力。

502 Bad Gateway(网关错误)

The server was acting as a gateway or proxy and received an invalid response from the upstream server.

服务端充当网关或代理时,收到来自upstream服务中无效的处理。

503 Service Unavailable(暂停服务)

The server is currently unavailable (because it is overloaded or down for maintenance).

服务当前不可用(因为过载或停机维护等原因)。

504 Gateway Timeout(网关超时)

The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.

服务端充当网关或代理时,没有收到来自upstream服务及时响应。

505 HTTP Version Not Supported(HTTP版本不支持)

The server does not support the HTTP protocol version used in the request.

服务器不支持请求中使用的HTTP协议版本。

506 Variant Also Negotiates(变体协商)

Transparent content negotiation for the request results in a circular reference.

请求的内容协商导致循环引用。

507 Insufficient Storage(存储空间不足)

The server is unable to store the representation needed to complete the request.

服务端无法完成该请求中所需的存储动作。

508 Loop Detected(检测到环路)

The server detected an infinite loop while processing the request.

服务端在处理请求时检测到无限循环。

510 Not Extended(未扩展)

Further extensions to the request are required for the server to fulfill it.

服务端需要对请求进行进一步扩展才能完成该请求。

511 Network Authentication Required(需要网络身份认证)

The client needs to authenticate to gain network access.

客户端需要通过身份验证才做获得网络的访问权限。