[Twisted-Python] map Url to function

Achim Domma (ProCoders) domma at procoders.net
Mon Jun 30 11:45:22 EDT 2003


Hi,

I started playing around with twisted.web and want to map the Url to
function calls with parameters. For example

http://myserver.net/mainhandler/somefkt/parama/paramb

should be call some 'mainhandler'. This should be a script which gets
'/somefkt/parama/paramb' and knows what to do with it. What's the easiest
way to do this?

regards,
Achim





More information about the Twisted-Python mailing list