Authority has its own structure
04User information, host, and port are separate subcomponents; IP literals need brackets.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.
DIAGRAM§ 3.2 ↗
RFC 3986 · § 3.2EXAMPLE
4 / 4
04
Apply scheme-specific meaning.
The generic grammar identifies the port component; the scheme defines defaults.
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
RFC 2396RFC 3986 Appendix D.1
The revised generic syntax incorporates bracketed IP-literal hosts from RFC 2732 and expands normalization and comparison guidance.
Read the updated RFC section ↗Read the host after parsing, not by guessing from the text.
- The generic authority form is [userinfo@]host[:port].
- IPv6 address literals are enclosed in square brackets in a URI host.
- Use of a password in userinfo is deprecated.
The examples simplify the wire representation. Follow the linked specification and application profile for implementation.
Read the RFC section ↗Diagrams simplify the RFC. Read the linked sections for complete requirements.
Privacy