WebStack/Webware.py | raw changeset files shortlog |
1.1 --- a/WebStack/Webware.py Sun May 30 20:02:49 2004 +0000 1.2 +++ b/WebStack/Webware.py Sun May 30 20:32:17 2004 +0000 1.3 @@ -122,6 +122,15 @@ 1.4 1.5 return self.trans.request().uri() 1.6 1.7 + def get_path_without_query(self): 1.8 + 1.9 + """ 1.10 + A framework-specific method which gets the entire path from the request 1.11 + minus the query string. 1.12 + """ 1.13 + 1.14 + return self.get_path().split("?")[0] 1.15 + 1.16 def get_path_info(self): 1.17 1.18 """