[Twisted-Python] Resource Tree
Tsai Li Ming
mailinglist at ltsai.com
Tue Aug 31 19:19:08 MDT 2004
Hi
For example, as given in the howto to handle url path segment:
root = Hello()
root.putChild('fred', Hello())
root.putChild('bob', Hello())
Therefore, the following URLs are valid:
http://example.com/
http://example.com/fred
http://example.com/bob
http://example.com/fred/
http://example.com/bob/
How do I handle non-existent url like http://example.com/foo?
Liming
More information about the Twisted-Python
mailing list