[转]HTTP Error Codes

上一篇 / 下一篇  2007-08-21 11:22:10 / 个人分类:web测试相关

找了好久的文章!今天终于找到了!谢谢作者歸陽。普遍的www服务器的网络连接,都用的是http协议,在这里我们如果对http状态字(http status)进行适当的了解有一定的帮助.

http error codes

400 invalid syntax. 语法问题
401 access denied. 访问拒绝
402 payment required. 必须完整
403 request forbidden. 请求被禁止
404 object not found. 对象没有找到
405 method is not allowed. 方法不允许
406 no resp acceptable to client found. 客户端没有响应
407 proxy authentication required. 代理需要验证
408 server timed out waiting for request. 等等请求时服务器断开连接
409 user should resubmit with more info. 有冲突用户应该进行检查
410 resource is no l available. 资源不可用
411 server refused to accept request without a length. 服务器拒绝接受没有长度的请求
412 prec given in request failed. 放弃请求失败的条件
413 request entity was too large. 请求太大
414 request uniform resource identifier (uri) too long. 请求的uri 太长
415 unsupported media type. 不支持media类型
449 retry after doing the appropriate action. 在作了适当动作后重试
500 internal server error. 服务器内部错误
501 server does not support the functi required to fulfill the request. 服务器不支持请求的功能
502 error resp received from gateway. 从网关收到错误应答
503 temporarily overloaded. 过载
504 timed out waiting for gateway. 等待网关时请求断开
505 http version not supported. 不支持http的版本


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程序(客户端程序浏览器程序)已经重置了文档视图目录(c
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 d using 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 resp 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 behavīor.
从定位请求,
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 resp 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 c with the current state of the resource. the user should resubmit with more information.
请求不能被完成,问题是资源冲突。用户应该进行调整
http_status_gone (410)
the requested resource is no l 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 c length.
服务器拒绝接受没有定义目录大小的请求
http_status_precond_failed (412)
the prec given in 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 l 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 c that prevented it from fulfilling the request.
服务器遇到请求失败意外
http_status_not_supported (501)
the server does not support the functi required to fulfill the request.
服务器不支持必须完成请求的功能
http_status_bad_gateway (502)
the server, while acting as a gateway or proxy, received an invalid resp 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协议的版本


TAG: web测试相关

 

评分:0

我来说两句

Open Toolbar