Http Status

http_status_bad_request (400)
the request could not be processed by the server due to invalid syntax.
因为语法不能被服务器处理 由于包含语法错误,当前请求无法被服务器理解。除非进行修改,否则客户端不应该重复提交这个请求。

HTTP Status 400 -

type Status report

message

description The request sent by the client was syntactically incorrect.


  1. Status Code: 400 Bad Request
  2. Connection: close
  3. Content-Language: en
  4. Content-Length: 1009
  5. Content-Type: text/html;charset=utf-8
  6. Date: Wed, 05 Nov 2014 06:16:25 GMT
  7. Server: Apache-Coyote/1.1

 


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动作不被允许

请求行中指定的请求方法不能被用于请求相应的资源。该响应必须返回一个Allow头信息用以表示出当前资源能够接受的请求方法的列表。 鉴于PUT,DELETE方法会对服务器上的资源进行写操作,因而绝大部分的网页服务器都不支持或者在默认配置下不允许上述请求方法,对于此类请求均会返回405错误。

HTTP Status 405 - Request method 'POST' not supported

type Status report

message Request method 'POST' not supported

description The specified HTTP method is not allowed for the requested resource.


Response Headers

  1. Status Code: 405 Method Not Allowed
  2. Allow: GET
  3. Content-Language: en
  4. Content-Length: 1088
  5. Content-Type: text/html;charset=utf-8
  6. Date: Wed, 05 Nov 2014 06:04:02 GMT
  7. Server: Apache-Coyote/1.1


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 415 -

type Status report

message

description The server refused this request because the request entity is in a format not supported by the requested resource for the requested method.


  1. Status Code: 415 Unsupported Media Type
  2. Content-Language: en
  3. Content-Length: 1089
  4. Content-Type: text/html;charset=utf-8
  5. Date: Wed, 05 Nov 2014 06:14:23 GMT
  6. Server: Apache-Coyote/1.1
posted @ 2014-11-05 11:53  xiaotou745  阅读(1322)  评论(0编辑  收藏  举报