Connected: An Internet Encyclopedia
2.4. Parsing a URL

Up: 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

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.


Next: 2.4.1. Parsing the Fragment Identifier

Connected: An Internet Encyclopedia
2.4. Parsing a URL