Connected: An Internet Encyclopedia
2.4.6. Parsing the Path
Up:
Connected: An Internet Encyclopedia
Up:
Requests For Comments
Up:
RFC 1808
Up:
2. Relative URL Syntax
Up:
2.4. Parsing a URL
Prev: 2.4.5. Parsing the Parameters
Next: 3. Establishing a Base URL
2.4.6. Parsing the Path
2.4.6. Parsing the Path
After the above steps, all that is left of the parse string is the
URL <path> and the slash "/" that may precede it. Even though the
initial slash is not part of the URL path, the parser must remember
whether or not it was present so that later processes can
differentiate between relative and absolute paths. Often this is
done by simply storing the preceding slash along with the path.
Next: 3. Establishing a Base URL
Connected: An Internet Encyclopedia
2.4.6. Parsing the Path