Metraipolis › HTTP clauses › rfc9110-s15.5.2-c2

RFC 9110 §15.5.2 — 401 Unauthorized

HTTP Semantics · status: INTERNET STANDARD · keyword: MAY · addressee: user agent

Official text

If the request included authentication credentials, then the 401 response indicates that authorization has been refused for those credentials. The user agent MAY repeat the request with a new or replaced Authorization header field (Section 11.6.2). If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user agent SHOULD present the enclosed representation to the user, since it usually contains relevant diagnostic information.

Verbatim from the official RFC text, whitespace preserved. Copyright (c) IETF Trust and the persons identified as the document authors; IETF Trust Legal Provisions.

Official source
https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.2-2
Stable URL of this page
https://metraipolis.com/clausola/rfc9110-s15.5.2-c2

How to cite

RFC 9110, HTTP Semantics, Section 15.5.2 (401 Unauthorized), https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.2-2; clause rfc9110-s15.5.2-c2: https://metraipolis.com/clausola/rfc9110-s15.5.2-c2
BibTeX
@misc{rfc9110s1552,
  title = {RFC 9110: HTTP Semantics, Section 15.5.2},
  howpublished = {RFC Editor},
  url = {https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.2-2},
  note = {Clause rfc9110-s15.5.2-c2; https://metraipolis.com/clausola/rfc9110-s15.5.2-c2}
}

Summary (ours, not RFC text)

This recommendation or permission concerns 401 unauthorized in RFC 9110. Its recorded addressee is user agent; use the excerpt and official paragraph to determine the exact obligation.

Conditions

None recorded.

Exceptions

None recorded.

Related clauses