Mercurial > libervia-web
diff src/server/blog.py @ 858:7dde76708892
server: URL redirections + misc:
- root resource is now a special class LiberviaRootResource which handle redirections
- redirections are checked only if all other childs didn't return a resource
- for now, redirection handle xmpp scheme, and direct redirections for internal links
- use imported module instead of imported classes directly for twisted.web hierarchy
- 'test' URL is now redirected only in development versions
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 24 Jan 2016 19:00:56 +0100 |
parents | de17f7313cbe |
children | 2e0e9cf9efb4 |