From 0fe03b92344c0f9b0d4ada2146d4480997ab2e25 Mon Sep 17 00:00:00 2001 From: julieng Date: Fri, 17 Sep 2021 20:50:13 +0200 Subject: convert content to md --- files/fr/web/http/status/401/index.md | 57 ++++++++++++++--------------------- 1 file changed, 23 insertions(+), 34 deletions(-) (limited to 'files/fr/web/http/status/401/index.md') diff --git a/files/fr/web/http/status/401/index.md b/files/fr/web/http/status/401/index.md index b7364935cc..9f2b34f9fe 100644 --- a/files/fr/web/http/status/401/index.md +++ b/files/fr/web/http/status/401/index.md @@ -8,50 +8,39 @@ tags: - Reference translation_of: Web/HTTP/Status/401 --- -
{{HTTPSidebar}}
+{{HTTPSidebar}} -

Le code de statut de réponse HTTP 401 Unauthorized indique que la requête n'a pas été effectuée car il manque des informations d'authentification valides pour la ressource visée.

+Le code de statut de réponse HTTP **`401 Unauthorized`** indique que la requête n'a pas été effectuée car il manque des informations d'authentification valides pour la ressource visée. -

Ce statut est envoyé avec un en-tête {{HTTPHeader("WWW-Authenticate")}} qui décrit la méthode pour s'authentifier correctement.

+Ce statut est envoyé avec un en-tête {{HTTPHeader("WWW-Authenticate")}} qui décrit la méthode pour s'authentifier correctement. -

Ce statut est similaire à {{HTTPStatus("403")}} mais, dans ce cas, une authentification est possible.

+Ce statut est similaire à {{HTTPStatus("403")}} mais, dans ce cas, une authentification est possible. -

Statut

+## Statut -
401 Unauthorized
+ 401 Unauthorized -

Exemple de réponse

+## Exemple de réponse -
HTTP/1.1 401 Unauthorized
-Date: Wed, 21 Oct 2015 07:28:00 GMT
-WWW-Authenticate: Basic realm="Access to staging site"
+ HTTP/1.1 401 Unauthorized + Date: Wed, 21 Oct 2015 07:28:00 GMT + WWW-Authenticate: Basic realm="Access to staging site" -

Spécifications

+## Spécifications - - - - - - - - - - - -
SpécificationTitre
{{RFC("7235", "401 Unauthorized" , "3.1")}}HTTP/1.1: Authentication
+| Spécification | Titre | +| -------------------------------------------------------- | ------------------------ | +| {{RFC("7235", "401 Unauthorized" , "3.1")}} | HTTP/1.1: Authentication | -

Compatibilité des navigateurs

+## Compatibilité des navigateurs -

{{Compat("http/status", "401")}}

+{{Compat("http/status", "401")}} -

Voir aussi

+## Voir aussi - +- [La gestion de l'authentification en HTTP](/fr/docs/Web/HTTP/Authentication) +- {{HTTPHeader("WWW-Authenticate")}} +- {{HTTPHeader("Authorization")}} +- {{HTTPHeader("Proxy-Authorization")}} +- {{HTTPHeader("Proxy-Authenticate")}} +- {{HTTPStatus("403")}}, {{HTTPStatus("407")}} -- cgit v1.2.3-54-g00ecf