Laurian Gridinoc wrote:
How it is possible to wrap the response of a subtree?
For example, for the path /foo/bar/baz, a script located at
/foo/wrapper would catch the output of the rest of the request path
(./bar/baz) and do a transformation upon it (gzip, xslt, etc).
Well, if you make 'foo' a python script or page template, /bar/baz will
be available in the traverse_subpath variable and you can do whatever
you want with them :-)
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )