From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- files/pt-br/web/http/status/304/index.html | 57 ++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 files/pt-br/web/http/status/304/index.html (limited to 'files/pt-br/web/http/status/304/index.html') diff --git a/files/pt-br/web/http/status/304/index.html b/files/pt-br/web/http/status/304/index.html new file mode 100644 index 0000000000..426955905c --- /dev/null +++ b/files/pt-br/web/http/status/304/index.html @@ -0,0 +1,57 @@ +--- +title: 304 Not Modified +slug: Web/HTTP/Status/304 +tags: + - HTTP + - Redirecionamento + - Referencia + - Status code +translation_of: Web/HTTP/Status/304 +--- +
{{HTTPSidebar}}
+ +

O código de resposta HTTP de redirecionamento do cliente 304 Not Modified indica que não há necessidade de retransmitir a requisição de recursos. É um redirecionamento implícito para o recurso em cache. Isto ocorre quando o método de requisição é {{glossary("safe")}}, assim como uma requisição {{HTTPMethod("GET")}} ou {{HTTPMethod("HEAD")}}, ou quando a requisição é condicional e usa um cabeçalho {{HTTPHeader("If-None-Match")}} ou {{HTTPHeader("If-Modified-Since")}}.

+ +

A resposta equivalente {{HTTPStatus("200")}} OK teria incluso os cabeçalhos {{HTTPHeader("Cache-Control")}}, {{HTTPHeader("Content-Location")}}, {{HTTPHeader("Date")}}, {{HTTPHeader("ETag")}}, {{HTTPHeader("Expires")}}, e {{HTTPHeader("Vary")}}.

+ +
+

Vários painéis de rede de ferramentas de desenvolvedor dos navegadores criam requisições irrelevantes direcionando para respostas 304, logo este acesso ao cache local é visível aos desenvolvedores.

+
+ +

Status

+ +
304 Not Modified
+ +

Especificações

+ + + + + + + + + + + + +
SpecificationTitle
{{RFC("7232", "304 Not Modified" , "4.1")}}Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests
+ +

Compatibilidade do navegador

+ + + +

{{Compat("http.status.304")}}

+ +

Notas de Compatibilidade

+ + + +

Veja também

+ + -- cgit v1.2.3-54-g00ecf