1.1 --- a/WebStack/Generic.py Sat Jan 06 20:29:37 2007 +0000
1.2 +++ b/WebStack/Generic.py Sat Jan 06 20:29:51 2007 +0000
1.3 @@ -677,6 +677,18 @@
1.4
1.5 # Utility methods.
1.6
1.7 + def traverse_path(self, encoding=None):
1.8 +
1.9 + """
1.10 + Traverse the path, updating the virtual path info and thus the processed
1.11 + virtual path info accordingly. Return the traversed virtual path info
1.12 + fragment.
1.13 + """
1.14 +
1.15 + vp = self.get_virtual_path_info(encoding).split("/")
1.16 + self.set_virtual_path_info("/" + "/".join(vp[2:]))
1.17 + return vp[1]
1.18 +
1.19 def update_path(self, path, relative_path):
1.20
1.21 """