[Twisted-Python] map Url to function