RFC2616记录的HTTP状态码有37种,再加上「WebDAV」(RFC4918、5842)和「Additional HTTP Status Codes」(RFC6585),数量就达到60多种。 然并卵,这么多种HTTP状态码,其实常用的大概只有14种,本文就讲讲这14种状态码。 2XX Success This class of status code indicates that the client's request was successfully r...
RFC2616记录的HTTP状态码有37种,再加上「WebDAV」(RFC4918、5842)和「Additional HTTP Status Codes」(RFC6585),数量就达到60多种。 然并卵,这么多种HTTP状态码,其实常用的大概只有14种,本文就讲讲这14种状态码。 2XX Success This class of status code indicates that the client's request was successfully r...
which if present SHOULD be associated with the requested variant. If the client is a user agent, it SHOULD NOT change its document view from that which caused
类型触发动作说明1XXInformational信息性状态码,表示接受的请求正在处理2XXSuccess成功状态码,表示请求正常处理完毕3XXRedirection重定向状态码,表示需要客户端需要进行附加操作4XXClient Error客户端错误状态码,表示服务器无法处理请求5XXServer Error服务器错误状态码,表示服务器处理请求出错 RFC2616记录的HTTP状态码有37...
RFC2616记录的HTTP状态码有37种,再加上「WebDAV」(RFC4918、5842)和「Additional HTTP Status Codes」(RFC6585),数量就达到60多种。 然并卵,这么多种HTTP状态码,其实常用的大概只有14种,本文就讲讲这14种状态码。 2XX Success This class of status code indicates that the client's request was successfully ...
4、Client error responses 400 Bad Request 由于语法无效,服务器无法理解请求。 401 Unauthorized “未经授权的响应”在语义上是指“未经授权的响应”。也就是说,客户机必须对自己进行身份验证才能获得请求的响应。 402 Payment Required 此响应代码保留供将来使用。创建此代码的最初目的是将其用于数字支付系统,但是此...
HTTP错误报码对照表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 response acceptable to client found. 客户端没有响应...
HTTP Status Code: 400 Bad Request Fix a process that returns the HTTP Status Code: 400 Bad Request. A process doesn't return expected results. You see this error: 400 Bad Request Cause: A client error. Remedy: Check the request URI, headers, and body for more information. ...
This class of status codes indicates the action requested by the client was received, understood, accepted and processed successfully. 200 OK 标准响应,表示HTTP请求响应正常。实际响应内容根据请求的方式有所不同。若为GET请求,响应将包含对应的请求资源。若为POST请求,响应将包含一个实体,以此来描述或者返回PO...
4XX Status Codes – Client Errors The 4XX codes are HTTP error status codes. They define errors as invalid requests from your browser that the website’s server can’t process. The problem may be a syntax error in the request, a non-existent URL, wrong credentials, etc. Your browser wi...