http状态码204理解HTTP 的状态码有很多种 主要有 1xx 临时响应 2xx 成功 3xx 已重定向 4xx 请求错误 以及 5xx 服务器错误 五个大类 每个大类还对应一些具体的分类 平时我们接触比较多的是 200 400 500 等 这里我们主要讨论一下状态码 204 在 HTTP RFC 2616 中关于 204 的描述如下 If the client is a user agent it SHOULD NOT
大家好,我是讯享网,很高兴认识大家。
HTTP的状态码有很多种,主要有1xx(临时响应)、2xx(成功)、3xx(已重定向)、4xx(请求错误)以及5xx(服务器错误)五个大类,每个大类还对应一些具体的分类。平时我们接触比较多的是200、400、500等。
这里我们主要讨论一下状态码204,在HTTP RFC 2616中关于204的描述如下:
If the client is a user agent, it SHOULD NOT change its document view from that which caused the request to be sent. This response is primarily intended to allow input for actions to take place without causing a change to the user agent’s active document view, although any new or updated metainformation SHOULD be applied to the document currently in the user agent’s active view.
讯享网

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