Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1095919 of 200 OK

  • Revision slug: Web/HTTP/Status/200
  • Revision title: 200
  • Revision id: 1095919
  • Created:
  • Creator: fscholz
  • Is current revision? No
  • Comment new page

Revision Content

{{HTTPSidebar}}

The HTTP 200 OK success status response code indicates that the request has succeded. A 200 response is cacheable by default.

The meaning of a success depends on the HTTP request method:

  • {{HTTPMethod("GET")}}: The resource has been fetched and is transmitted in the message body.
  • {{HTTPMethod("HEAD")}}: The entity headers are in the message body.
  • {{HTTPMethod("POST")}}: The resource describing the result of the action is transmitted in the message body.
  • {{HTTPMethod("TRACE")}}: The message body contains the request message as received by the server.

Status

200 OK

Specifications

Specification Title
{{RFC("7231", "200 OK" , "6.3.1")}} Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content

Browser compatibility

{{Compat}}

See also

Revision Source

<div>{{HTTPSidebar}}</div>

<p>The HTTP <strong><code>200 OK</code></strong> success status response code indicates that the request has succeded. A 200 response is cacheable by default.</p>

<p>The meaning of a success depends on the HTTP request method:</p>

<ul>
 <li>{{HTTPMethod("GET")}}: The resource has been fetched and is transmitted in the message body.</li>
 <li>{{HTTPMethod("HEAD")}}: The entity headers are in the message body.</li>
 <li>{{HTTPMethod("POST")}}: The resource describing the result of the action is transmitted in the message body.</li>
 <li>{{HTTPMethod("TRACE")}}: The message body contains the request message as received by the server.</li>
</ul>

<h2 id="Status">Status</h2>

<pre class="syntaxbox">
200 OK</pre>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Title</th>
  </tr>
  <tr>
   <td>{{RFC("7231", "200 OK" , "6.3.1")}}</td>
   <td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p class="hidden">To contribute to this compatibility data, please write a pull request against this file: <a href="https://github.com/mdn/browser-compat-data/blob/master/http/status.json">https://github.com/mdn/browser-compat-data/blob/master/http/status.json</a>.</p>

<p>{{Compat}}</p>

<h2 id="See_also">See also</h2>

<ul>
 <li><a href="/en-US/docs/Web/HTTP/Methods">HTTP request methods</a></li>
</ul>
Revert to this revision