HTTP: 状态码400~415错误说明

HTTP: 状态码400~415错误说明状态码太多,记住几个常见得就好,还有就是记住不同数字开头,大致是哪方面出错,然后其他的就查好了http_status_bad_request(400)therequestcouldnotbeprocessedbytheserverduetoinvalidsyntax.因为语法不能被服务器处理http_status_denied(4…

状态码太多,记住几个常见得就好,还有就是记住不同数字开头,大致是哪方面出错,然后其他的就查好了

  • 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.
    服务器拒绝服务,原因是请求格式不被支持

 

转载于:https://www.cnblogs.com/mark5/p/10955092.html

今天的文章HTTP: 状态码400~415错误说明分享到此就结束了,感谢您的阅读。

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/10050.html

(0)
编程小号编程小号

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注