Trees | Index | Help |
---|
Package WebStack :: Package Resources :: Module Selectors :: Class PathSelector |
|
Set a request's current path and processed path info on an attribute.
Method Summary | |
---|---|
Initialise the selector with a 'resource' (to which all requests shall be forwarded), specifying whether a "/" character shall be added to stored paths using the optional 'add_slash' parameter (default is true), along with an optional 'attribute_name' (indicating the name of the attribute on which the path information shall be stored), and the optional 'path_encoding' for interpreting URL-encoded path values. | |
Respond to the transaction 'trans' by storing the current path and processed virtual path info on the named transaction attribute, then forwarding the transaction to the previously specified resource. |
Method Details |
---|
__init__(self,
resource,
add_slash=1,
attribute_name='root',
path_encoding='utf-8')
|
respond(self, trans)Respond to the transaction 'trans' by storing the current path and processed virtual path info on the named transaction attribute, then forwarding the transaction to the previously specified resource. |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Thu Mar 1 00:37:14 2007 | http://epydoc.sf.net |