Visual RFC.
ALL RFCs / RFC 9110
Read the RFC ↗
RFC 9110 / RESPONSES AND BOUNDARIES

Authentication, security & extensions

10

Challenge-response authentication, origin boundaries, and registered extensions keep HTTP extensible without making every field trustworthy.

RFC 9110 · § 11EXAMPLE
4 / 4
04
Extend with defined semantics.

New protocol elements need explicit behavior and interoperability rules.

Authentication, security & extensionsA 401 challenge is followed by credentials restricted to an origin protection space, with extension registration shown separately.Credentials belong in a protection spaceIllustrative challenge-response exchangeOrigin protection spaceClientOriginGET /private401 + WWW-AuthenticateAuthorization: …Credentials are scoped to the intended authorityNew schemes and fields require defined semanticsExtend HTTP through explicit registered semantics

Key idea: Authenticate within the right protection space.

Terms
Client / user agent
The app making a request; in this example, your browser.
Origin server
The server responsible for providing an answer for the target resource.
Request
A message asking for an action on a resource.
Response
The server’s message reporting the result of a request.
Resource
Something identified by a URI, such as the page at /story.
Representation
Content and descriptive information that convey a resource’s state, such as an HTML page.
Semantics
What a message or protocol element means, independently of how it travels.
Authentication
Checking identity claims under an authentication scheme.
Authorization
Deciding which actions a caller is allowed to perform.
Challenge
A response describing an authentication scheme and its parameters.
Protection space
The scope within which credentials can be applied.
401 / 407
401 challenges origin authentication; 407 challenges proxy authentication.

Look up a term in the glossary ↗

Rules & examples
  • 401 challenges origin authentication with WWW-Authenticate; 407 challenges proxy authentication separately.
  • Credentials and sensitive information require appropriate transport and origin handling.
  • Methods, status codes, fields, and authentication schemes have extension mechanisms and registry rules.

RFC 9110 §17 also covers injection, request smuggling, intermediary risks, privacy, and resource exhaustion. An HTTP success status alone does not establish authorization or trustworthy content.

Predict: Does a 200 response prove the returned content is trustworthy?

Check your answer

No. Success status alone does not establish trustworthy content or permission for subsequent actions.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A request starts a conversation.

A client asks for a resource. A server sends a response. The method, address, headers, and status explain what that conversation means.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

EXPLORE THIS PROTOCOL

HTTP versions

HTTP semantics apply across versions. HTTP/2 and HTTP/3 change how messages travel; all three guides remain relevant.

All chapters in RFC 9110

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗