t.w.rewrite : module documentation

Part of twisted.web View Source

No module docstring
Class RewriterResource Undocumented
Function tildeToUsers Undocumented
Function alias No summary
def tildeToUsers(request): (source)
Undocumented
def alias(aliasPath, sourcePath): (source)
I am not a very good aliaser. But I'm the best I can be. If I'm aliasing to a Resource that generates links, and it uses any parts of request.prepath to do so, the links will not be relative to the aliased path, but rather to the aliased-to path. That I can't alias static.File directory listings that nicely. However, I can still be useful, as many resources will play nice.
API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.