aboutsummaryrefslogtreecommitdiff
path: root/files/it/web/http/status/200/index.html
blob: 835042804395f1c7c18a64a0b031bc70ff938126 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
title: 200 OK
slug: Web/HTTP/Status/200
tags:
  - Codici di stato
  - HTTP
  - Successo
translation_of: Web/HTTP/Status/200
---
<div>{{HTTPSidebar}}</div>

<p>Il codice di successo di risposta <strong><code>200 OK</code></strong> indica che la richiesta ha avuto successo.<br>
 Una risposta 200 è inserita nella cache di default.</p>

<p>Il significato di successo dipende dal metodo HTTP di richiesta:</p>

<ul>
 <li>{{HTTPMethod("GET")}}: La risorsa è stata presa in carico e trasmessa nel corpo del messaggio.</li>
 <li>{{HTTPMethod("HEAD")}}: Le intestazioni dell'entità sono nel corpo del messaggio.</li>
 <li>{{HTTPMethod("POST")}}: La risorsa che descrive il risultato dell'azione è nel corpo del messaggio.</li>
 <li>{{HTTPMethod("TRACE")}}: Il corpo del messaggio contiene la richiesta del messaggio come ricevuta dal server.</li>
</ul>

<p>Il risultato di successo di un {{HTTPMethod("PUT")}} o di un {{HTTPMethod("DELETE")}} spesso non è un <code>200</code> <code>OK</code> ma un {{HTTPStatus("204")}} <code>No Content</code> (o un {{HTTPStatus("201")}} <code>Created</code> quando la risorsa è caricata per la prima volta.</p>

<h2 id="Stato">Stato</h2>

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

<h2 id="Specifiche">Specifiche</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specifica</th>
   <th scope="col">Titolo</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="Compatibilità_Browser">Compatibilità Browser</h2>

<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p>

<p>{{Compat("http.status.200")}}</p>

<h2 id="Vedi_anche">Vedi anche</h2>

<ul>
 <li><a href="/en-US/docs/Web/HTTP/Methods">HTTP metodi di richiesta</a></li>
</ul>