"This example is in the CherryPy source directory
tutorial/tutorial.conf, or on-line at
Neither phrase of that is true. There is no "tutorial.conf" in the
CherryPy source directory in the 2.1 beta, and the online listing
differs from the example by about three settings.
"For instance, if you want to enable EncodingFilter? (using utf-8) on
all the site and DecodingFilter? for everything under /dir1 (using
latin-1), all you have to do is put this in your config file:
encodingFilter.on = True
decodingFilter.on = True
decodingFilter.encoding = "latin-1"
The "standard" filters are currently: baseurlfilter, cachefilter,
decodingfilter, encodingfilter, gzipfilter, logdebuginfofilter,
staticfilter, tidyfilter, virtualhostfilter, xmlrpcfilter"
I am confused -- does capitalization matter? Usually in python, it
does. If so, is it 'encodingFilter' like it says in the code box, or
'encodingfilter' like it says in the text? If it matters, but the
inconsistencies are needed because of the way wikis treat CamelCase,
then where can I find the correct capitalization for the xmlrpcfilter
setting ? Of course, it could be a moot point if XmlRpcFilter isn't
working in 2.1 yet!!