Stefan H. Holek wrote at 2003-12-9 15:47 +0100:
> ...
>Given an object is accessed by
>/VirtualHostBase/http/example.com:80/VirtualHostRoot/_vh_foo/folder/doc
> ...
>2) doc.absolute_url(relative=1)
>
> Returns the path of doc, relative to the virtual root.
> e.g. folder/doc
> ...
>Comments:
>
>ad
I'd like to suggest that any new methods created to handle paths or urls
do not require parameters for different behaviours (which should be
implemented as different methods), so that they can be more easily used
from plain ZPT path expressions.
Cheers, Leo
___
After causing all this noise, let me summarize what I now understand is the
intended behavior of Zope's URL methods.
Given an object is accessed by
/VirtualHostBase/http/example.com:80/VirtualHostRoot/_vh_foo/folder/doc
1) doc.absolute_url()
Returns the full URL of doc including protocol and ho