[Twisted-web] Remove addSlash from Nevow

Valentino Volonghi aka Dialtone dialtone at divmod.com
Sat Jul 23 05:39:12 MDT 2005

Matt Goodall wrote:

>Nevow's addSlash sometimes causes problems (see LivePage) and some
>people are a bit confused by it anyway.
>I know it's been in Nevow (twisted.web too?) for a long time but perhaps
>we should remove it from rend.Page and either:
>* Leave it completely to the application to expliticly implement the
>behaviour if that's what they want
>* Provide a mixin (or some sort of "pluggable" code) that resources can
>use to pick up the addSlash behaviour.
I think that the trailing / only makes sense when dealing with directory
A Page, unless it's a Directory shouldn't use the /.

addSlash is really awful and should really go away.

Valentino Volonghi aka Dialtone
Now Running MacOSX 10.4.1
Blog: http://vvolonghi.blogspot.com

More information about the Twisted-web mailing list