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/204/index.html | 49 ++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 files/pt-br/web/http/status/204/index.html (limited to 'files/pt-br/web/http/status/204') diff --git a/files/pt-br/web/http/status/204/index.html b/files/pt-br/web/http/status/204/index.html new file mode 100644 index 0000000000..f23f834ee6 --- /dev/null +++ b/files/pt-br/web/http/status/204/index.html @@ -0,0 +1,49 @@ +--- +title: 204 No Content +slug: Web/HTTP/Status/204 +translation_of: Web/HTTP/Status/204 +--- +
{{HTTPSidebar}}
+ +

O código de resposta HTTP de status de sucesso 204 No Content indica que a solicitação foi bem sucedida e o cliente não precisa sair da página atual. Uma resposta 204 é armazenada em cache por padrão. Um cabeçalho {{HTTPHeader("ETag")}} está incluso na resposta.

+ +

O caso de uso comum é retornar 204 como resultado de uma solicitação {{HTTPMethod("PUT")}}, atualizando um recurso, sem alterar o conteúdo atual da página exibida para o usuário. Se o recurso for criado, {{HTTPStatus("201")}} Created será retornado. Se a página for alterada para a página recém-atualizada, o {{HTTPStatus ("200")}} deve ser usado em vez disso.

+ +

Status

+ +
204 No Content
+ +

Especificações

+ + + + + + + + + + + + +
EspecificaçãoTítulo
{{RFC("7231", "204 No Content" , "6.3.5")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

Compatibilidade

+ + + +

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

+ +

Notas de compatibilidade

+ + + +

Veja também

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