aboutsummaryrefslogtreecommitdiff
path: root/files/de/web/http/status/304/index.html
blob: f12a73df9882ebfe68c07d31c2a7aa2794844697 (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
56
57
58
59
---
title: 304 Not Modified
slug: Web/HTTP/Status/304
tags:
  - HTTP
  - HTTP-Statuscode
  - Statuscode
  - Weiterleitung
translation_of: Web/HTTP/Status/304
---
<div>{{HTTPSidebar}}</div>

<div>
<p>Der HTTP-Statuscode <code><strong>304 Not Modified </strong></code> gibt an, dass die angeforderten Ressourcen nicht erneut übertragen werden müssen. Es handelt sich um eine implizite Weiterleitung zu einer zwischengespeicherten Ressource. Dies geschieht, wenn die Anforderungsmethode {{glossary("safe")}} ist, wie eine {{HTTPMethod("GET")}}- oder {{HTTPMethod("HEAD")}}-Anfrage oder wenn die Anfrage bedingt ist und einen {{HTTPHeader("If-None-Match")}}- oder {{HTTPHeader("If-Modified-Since")}}-Header verwendet.</p>

<p>Eine entsprechende Antwort mit {{HTTPStatus("200")}} <code>OK</code> hätte die Header {{HTTPHeader("Cache-Control")}}, {{HTTPHeader("Content-Location")}}, {{HTTPHeader("Date")}}, {{HTTPHeader("ETag")}}, {{HTTPHeader("Expires")}}, und {{HTTPHeader("Vary")}} enthalten.</p>
</div>

<div></div>

<div class="note">
<p>Many <a href="/en-US/docs/Tools/Network_Monitor">developer tools' network panels</a> of browsers create extraneous requests leading to <code>304</code> responses, so that access to the local cache is visible to developers.</p>
</div>

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

<pre class="syntaxbox">304 Not Modified</pre>

<h2 id="Spezifikationen">Spezifikationen</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Spezifikation</th>
   <th scope="col">Titel</th>
  </tr>
  <tr>
   <td>{{RFC("7232", "304 Not Modified" , "4.1")}}</td>
   <td>Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests</td>
  </tr>
 </tbody>
</table>

<h2 id="Browserkompatibilität">Browserkompatibilität</h2>

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

<h2 id="Anmerkungen_zur_Kompatibilität">Anmerkungen zur Kompatibilität</h2>

<ul>
 <li>Browser verhalten sich unterschiedlich, wenn zu dieser Antwort im Rahmen einer persistenten Verbindung fälschlicherweise ein Body geliefert wird. Genaueres siehe <a href="/en-US/docs/Web/HTTP/Status/204">204 No Content</a>.</li>
</ul>

<h2 id="Siehe_auch">Siehe auch</h2>

<ul>
 <li>{{HTTPHeader("If-Modified-Since")}}</li>
 <li>{{HTTPHeader("If-None-Match")}}</li>
</ul>