Connected: An Internet Encyclopedia
RFC 1808 - 2.4. Parsing a URL

Top: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 1808
Up: 2. Relative URL Syntax
Prev: 2.3. Specific Schemes and their Syntactic Categories
Next: 2.4.1. Parsing the Fragment Identifier

### 2.4. Parsing a URL

An accepted method for parsing URLs is useful to clarify the generic-RL syntax of Section 2.2 and to describe the algorithm for resolving relative URLs presented in Section 4. This section describes the parsing rules for breaking down a URL (relative or absolute) into the component parts described in Section 2.1. The rules assume that the URL has already been separated from any surrounding text and copied to a "parse string". The rules are listed in the order in which they would be applied by the parser.

2.4.1. Parsing the Fragment Identifier
2.4.2. Parsing the Scheme
2.4.3. Parsing the Network Location/Login
2.4.4. Parsing the Query Information
2.4.5. Parsing the Parameters
2.4.6. Parsing the Path

Next: 2.4.1. Parsing the Fragment Identifier

Connected: An Internet Encyclopedia
RFC 1808 - 2.4. Parsing a URL