Types and safe disclosure
05Define a reusable type with documentation without exposing private internals.
Expose corrective information without stack traces or sensitive internals.
Key idea: A new type specifies its URI, short title, and expected HTTP status.
Rules & examples
A new type specifies its URI, short title, and expected HTTP status.
- 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
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.