Changeset 1009
- Timestamp:
- 03/15/06 22:19:17
- Files:
-
- trunk/docs/book/xml/builtinfilters.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/docs/book/xml/builtinfilters.xml
r1006 r1009 135 135 <title>wsgiappfilter</title> 136 136 <para>The wsgiappfilter allows the application developer or deployer to mount 137 WSGI compatible applications and middleware to locations on the CherryPy137 WSGI-compatible applications and middleware to locations on the CherryPy 138 138 object tree.</para> 139 <para>Applications can be added to the tree in the config file orby using the140 wsgiappfilter.WSGIApp convenience class to directly mount applications to the141 CherryPy tree. You can also instantiate the filter ina class's _cp_filters142 special attribute.139 <para>Applications can be added to the tree by using the 140 cherrypy.lib.cptools.WSGIApp convenience class to directly mount applications to the 141 CherryPy tree. You can also add an instance of the filter to a class's _cp_filters 142 list. 143 143 </para> 144 <para>The wsgiappfilter.WSGIApp and WSGIAppFilter class contsructors takes the144 <para>The cherrypy.lib.cptools.WSGIApp and WSGIAppFilter class contsructors takes the 145 145 following parameters: 146 146 </para> 147 147 <itemizedlist> 148 148 <listitem> 149 <para>wsgi_app - the WSGI application callable.</para>149 <para>wsgi_app (required) - the WSGI application callable.</para> 150 150 </listitem> 151 151 <listitem> 152 <para>env_update - a dictionary of parameters to update the WSGI environment with.</para> 153 </listitem> 154 </itemizedlist> 155 <para>If you are controlling wsgiappfilter through the config system, use the following 156 configuration options:</para> 157 <itemizedlist> 158 <listitem> 159 <para>wsgiapp_filter.on - Default is False. Set to True to enable the filter.</para> 160 </listitem> 161 <listitem> 162 <para>wsgiapp_filter.app - WSGI application callable or string 'package,module.attr' 163 that references a WSGI application callable. 164 </para> 165 </listitem> 166 <listitem> 167 <para>wsgiapp_filter.env_update - a dictionary of parameters to update the WSGI 168 environment with. 169 </para> 152 <para>env_update - a optional dictionary of parameters used to update the WSGI environment.</para> 170 153 </listitem> 171 154 </itemizedlist>

