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/401/index.html | 59 ++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 files/pt-br/web/http/status/401/index.html (limited to 'files/pt-br/web/http/status/401') diff --git a/files/pt-br/web/http/status/401/index.html b/files/pt-br/web/http/status/401/index.html new file mode 100644 index 0000000000..f22f69f3d9 --- /dev/null +++ b/files/pt-br/web/http/status/401/index.html @@ -0,0 +1,59 @@ +--- +title: 401 Unauthorized +slug: Web/HTTP/Status/401 +tags: + - Código de status + - Erro Cliente + - HTTP + - Referencia +translation_of: Web/HTTP/Status/401 +--- +
{{HTTPSidebar}}
+ +

O código de resposta de status de erro do cliente HTTP 401 Unauthorized  indica que a solicitação não foi aplicada porque não possui credenciais de autenticação válidas para o recurso de destino.

+ +

Esse status é enviado com um cabeçalho {{HTTPHeader("WWW-Authenticate")}} que contém informações sobre como autorizar corretamente.

+ +

Esse status é semelhante a {{HTTPStatus("403")}}, mas neste caso, a autenticação é possível.

+ +

Status

+ +
401 Unauthorized
+ +

Exemplo de resposta

+ +
HTTP/1.1 401 Não autorizado
+Date: Wed, 21 Oct 2015 07:28:00 GMT
+WWW-Authenticate: Basic realm="Acesso intermediário ao site"
+ +

Especificações

+ + + + + + + + + + + + +
EspecificaçãoTítulo
{{RFC("7235", "401 Não autorizado" , "3.1")}}HTTP/1.1: Autenticação
+ +

Compatibilidade do navegador

+ + + +

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

+ +

Veja também

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