Seeking wisdom on URI path parameters.
Steven Taschuk
staschuk at telusplanet.net
Thu May 29 01:24:08 EDT 2003
Quoth JanC:
[...]
> Don't remove the parameters.
>
> There is no reason for that, relative paths resolve correctly with the
> parameters included. (In fact they would resolve incorrectly when you
> remove the parameters.)
>
> Example base URL:
> http://localhost/dir;im_ignoring=this/subdir;and=this/index.html
[...]
Should
.;param=value/foo.html
then resolve to
http://localhost/dir;im_ignoring=this/subdir;and=this/.;param=value/foo.html
or
http://localhost/dir;im_ignoring=this/subdir;param=value/foo.html
for example? The RFC is sadly a bit vague on this point. (The
example algorithm makes no mention of parameters, and none of the
examples in the appendix address this point.)
--
Steven Taschuk Aral: "Confusion to the enemy, boy."
staschuk at telusplanet.net Mark: "Turn-about is fair play, sir."
-- _Mirror Dance_, Lois McMaster Bujold
More information about the Python-list
mailing list