[Twisted-web] livepage

Tommi Virtanen tv at twistedmatrix.com
Mon May 2 11:52:48 MDT 2005


Matt Goodall wrote:
> I don't think is a good recommendation until rend.Page stops always
> handling an additional empty segment regardless of the value of
> addSlash. This behaviour has already been deprecated but not yet
> removed. See nevow.rend.Page.child_.
> 
> Right now, there's no way the developer can know if the URL the user
> used to reach the page is /foo or /foo/ and that makes it difficult to
> construct a correct relative URL.
> 
> I guess it's time to remove the deprecated child_ stuff.

Good point -- I try to be very careful about that in my own apps,
so I didn't even realize someone might write code that really does
not even know how it is used.



More information about the Twisted-web mailing list