Visual RFC.
ALL RFCs / RFC 9457
Read the RFC ↗
RFC 9457 / MECHANISM GUIDE

Types and safe disclosure

05

Define a reusable type with documentation without exposing private internals.

RFC 9457 · § 4EXAMPLE
3 / 3
03
Remove internal secrets

Expose corrective information without stack traces or sensitive internals.

Types and safe disclosureDefine a reusable type with documentation without exposing private internals.Types and safe disclosuretype URI + title + expected statusHuman-readable documentationCommon type registryinternal stack / secret: [redacted]

Key idea: A new type specifies its URI, short title, and expected HTTP status.

Terms

Look up a term in the glossary ↗

Rules & examples
  • A new type specifies its URI, short title, and expected HTTP status.
  • about:blank means no semantics beyond the HTTP status.
  • Security notes warn against disclosing implementation internals or sensitive information.

Examples are illustrative. Consult the linked RFC and its errata for implementation details.

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.

All chapters in RFC 9457

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 ↗