URI - Authority (User /Host / Port )
Table of Contents
1 - About
This page is about the authority part of an URI
2 - Articles Related
3 - Syntax
The authority component of a hierarchical URI is, if specified, either:
- or registry-based.
3.1 - server-based
A server-based authority parses according to the familiar syntax
[[email protected]]host[:port]
where:
- the characters @ and : stand for themselves.
- user-info is optional and defines the credential (or the scope)
- host and port defines a endpoint
3.2 - registry-based
Nearly all URIschemes currently in use are server-based. An authority component that does not parse in this way is considered to be registry-based.