[Twisted-web] [Nevow] addSlash

Manlio Perillo manlio_perillo at libero.it
Tue May 30 12:15:06 CDT 2006


Hi.

I'm having problems with addSlash.

I have this simple Page:

class SimpleRoot(rend.Page):
    docFactory = loaders.stan(tags.html[
    tags.body[
        tags.h1["Hello!"]
        ]
    ])


    def child_1(self, ctx):
        return self


But when I visit:
http://localhost:8080/1

I'm redirected to /1/

why?



Thanks  Manlio Perillo



More information about the Twisted-web mailing list