| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 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 9.0 page.
Created 2015.5.21.
| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |