| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |
Arguments: uri
Return the parsed representation of the path portion of uri (as returned by uri-path). This is setf'able.
The parsed path representation is a list (the path is a string). A parsed path has the following form:
([:absolute | :relative] component1 [component2...])
where components are:
element | (element param1 [param2 ...])
and element is a path element, and the param's are path element parameters. For example, the result of
(uri-parsed-path (parse-uri "foo;10/bar:x;y;z/baz.htm"))
is
(:relative ("foo" "10") ("bar:x" "y" "z") "baz.htm")
There is a certain amount of canonicalization that occurs when parsing:
(:absolute)
or
(:absolute "")
is equivalent to a
nil
path. That is,
http://a/
is parsed with a nil
path and
printed as http://a
. "foob%61r"
is parsed into
"foobar"
and appears as "foobar"
when the URI is printed.
See Parsing, escape decoding/encoding and the path in uri.htm for a discussion of encoding and decoding. The example above is repeated there.
See also uri.htm for general information on Universal Resource Indicator support in Allegro CL.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |