200 OK - HTTP 编辑
The HTTP 200 OK
success status response code indicates that the request has succeeded. A 200 response is cacheable by default.
The meaning of a success depends on the HTTP request method:
GET
: The resource has been fetched and is transmitted in the message body.HEAD
: The entity headers are included in the response without any message bodyPOST
: The resource describing the result of the action is transmitted in the message bodyTRACE
: The message body contains the request message as received by the server.
The successful result of a PUT
or a DELETE
is often not a 200
OK
but a 204
No Content
(or a 201
Created
when the resource is uploaded for the first time).
Status
200 OK
Specifications
Specification | Title |
---|---|
RFC 7231, section 6.3.1: 200 OK | Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content |
Browser compatibility
BCD tables only load in the browser
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论