WEB返回代码列表

WEB返回代码列表

状态代码- 状态代码(也称作错误代码)指为服务器所接收每个请求(网页点击)分配的 3 位数代码。多数有效网页点击都有状态代码 200("正常")。"网页未找到"错误会生产 404 错误。某些常见的代码以粗体显示。

100 继续
101 切换协议
200 正常
201 已创建
202 已接受
203 非授权信息
204 无内容
205 重置内容
206 部分内容
300 多种选择
301 永久移动
302 临时移动
303 参见其他
304 未修改
305 使用代理
400 错误请求
401 需要授权
402 需要付费
403 已禁止
404 未找到
405 方法不允许

406 不可接受
407 需要代理授权
408 请求超时
409 冲突
410 已过去
411 所需长度
412 前提条件失败
413 请求实体太大
414 请求网址太长
415 不支持的媒体类型
500 服务器错误
501 未实现
502 错误通道
503 资源不足
504 通道超时
505 HTTP 版本不受支持 

HTTP Error Codes
HTTP status codes returned by servers on the Internet.
从Internet返回的HTTP status代码(HTTP 状态字)
HTTP_STATUS_CONTINUE (100)
The request can be continued.
请求不能被继续
HTTP_STATUS_SWITCH_PROTOCOLS (101)
The server has switched protocols in an upgrade header.
通过新的header服务器的协议被转换了
HTTP_STATUS_OK (200)
The request completed successfully.
请求成功的完成
HTTP_STATUS_CREATED (201)
The request has been fulfilled and resulted in the creation of a new resource.
通过新的资源请求已经被完成
HTTP_STATUS_ACCEPTED (202)
The request has been accepted for processing, but the processing has not been completed.
请求已经被接受处理,但是处理还没有完成
HTTP_STATUS_PARTIAL (203)
The returned meta information in the entity-header is not the definitive set available from the origin server.
从服务器返回的在entity-header中的meta信息是无效的
HTTP_STATUS_NO_CONTENT (204)
The server has fulfilled the request, but there is no new information to send back.
服务器实现了请求,但是没有返回信息
HTTP_STATUS_RESET_CONTENT (205)
The request has been completed, and the client program should reset the document view that caused the request to be sent to allow the user to easily initiate another input action.
请求已经被完成,并且web程序(客户端程序浏览器程序)已经重置了文档视图目录(content),这个目录很容易允许使用者用另一个动作发送请求
HTTP_STATUS_PARTIAL_CONTENT (206)
The server has fulfilled the partial GET request for the resource.
服务器已经为资源完成了部分GET请求
HTTP_STATUS_AMBIGUOUS (300)
The server couldn't decide what to return.
服务器不能判定返回什么
HTTP_STATUS_MOVED (301)
The requested resource has been assigned to a new permanent URI (Uniform Resource Identifier), and any future references to this resource should be done using one of the returned URIs.
被请求的资源已经被分配给新的URI,并且以后引用时都使用这个URIs资源。
HTTP_STATUS_REDIRECT (302)
The requested resource resides temporarily under a different URI (Uniform Resource Identifier).
请求的资源临时在不同的uri下
HTTP_STATUS_REDIRECT_METHOD (303)
The response to the request can be found under a different URI (Uniform Resource Identifier) and should be retrieved using a GET HTTP verb on that resource.
请求的资源不能在不同的uri下找到,并且从新使用GET HTTP在服务器上从新检索
HTTP_STATUS_NOT_MODIFIED (304)
The requested resource has not been modified.
请求的资源没有被改变
HTTP_STATUS_USE_PROXY (305)
The requested resource must be accessed through the proxy given by the location field.
请求的资源必须通过特定的代理获得
HTTP_STATUS_REDIRECT_KEEP_VERB (307)
The redirected request keeps the same HTTP verb. HTTP/1.1 behavior.
从定位请求,
HTTP_STATUS_BAD_REQUEST (400)
The request could not be processed by the server due to invalid syntax.
因为语法不能被服务器处理
HTTP_STATUS_DENIED (401)
The requested resource requires user authentication.
请求资源命令必须被验证(拒绝访问)
HTTP_STATUS_PAYMENT_REQ (402)
Not currently implemented in the HTTP protocol.
没有完全实现HTTP协议
HTTP_STATUS_FORBIDDEN (403)
The server understood the request, but is refusing to fulfill it.
服务器理解了请求,但是拒绝完成他
HTTP_STATUS_NOT_FOUND (404)
The server has not found anything matching the requested URI (Uniform Resource Identifier).
没有找到任何被指定的URI
HTTP_STATUS_BAD_METHOD (405)
The HTTP verb used is not allowed.
Http动作不被允许
HTTP_STATUS_NONE_ACCEPTABLE (406)
No responses acceptable to the client were found.
应答没有被客户接受
HTTP_STATUS_PROXY_AUTH_REQ (407)
Proxy authentication required.
代理必须被验证
HTTP_STATUS_REQUEST_TIMEOUT (408)
The server timed out waiting for the request.
服务器在等待请求时中止了
HTTP_STATUS_CONFLICT (409)
The request could not be completed due to a conflict with the current state of the resource. The user should resubmit with more information.
请求不能被完成,问题是资源冲突。用户应该进行调整
HTTP_STATUS_GONE (410)
The requested resource is no longer available at the server, and no forwarding address is known.
请求的资源在服务器上不再可用,而且没有转发地址
HTTP_STATUS_LENGTH_REQUIRED (411)
The server refuses to accept the request without a defined content length.
服务器拒绝接受没有定义目录大小的请求
HTTP_STATUS_PRECOND_FAILED (412)
The precondition given in one or more of the request header fields evaluated to false when it was tested on the server.
当在服务器上测试请求头文件放弃一个或者多个请求的条件
HTTP_STATUS_REQUEST_TOO_LARGE (413)
The server is refusing to process a request because the request entity is larger than the server is willing or able to process.
服务器拒绝处理请求,原因是请求的大小超过服务器能够处理的大小
HTTP_STATUS_URI_TOO_LONG (414)
The server is refusing to service the request because the request URI (Uniform Resource Identifier) is longer than the server is willing to interpret.
服务器拒绝服务,原因是请求的URI超过了服务器能够揭示的长度
HTTP_STATUS_UNSUPPORTED_MEDIA (415)
The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.
服务器拒绝服务,原因是请求格式不被支持
HTTP_STATUS_RETRY_WITH (449)
The request should be retried after doing the appropriate action.
在作了适当的动作后请求被重试
HTTP_STATUS_SERVER_ERROR (500)
The server encountered an unexpected condition that prevented it from fulfilling the request.
服务器遇到请求失败意外
HTTP_STATUS_NOT_SUPPORTED (501)
The server does not support the functionality required to fulfill the request.
服务器不支持必须完成请求的功能
HTTP_STATUS_BAD_GATEWAY (502)
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.
服务器当作为网关或代理时,从上行服务器接受的响应请求失败
HTTP_STATUS_SERVICE_UNAVAIL (503)
The service is temporarily overloaded.
服务器负载
HTTP_STATUS_GATEWAY_TIMEOUT (504)
The request was timed out waiting for a gateway.
等待网关时请求断开,没有响应
HTTP_STATUS_VERSION_NOT_SUP (505)
The server does not support, or refuses to support, the HTTP protocol version that was used in the request message.
服务器不支持或者拒绝支持正在使用请求的HTTP协议的版本

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值