annotate src/__init__.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 fd438e51bda8
children 5cefc6ab302f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
856
fd438e51bda8 server: version check:
Goffi <goffi@goffi.org>
parents: 449
diff changeset
1 from server.constants import Const as C
fd438e51bda8 server: version check:
Goffi <goffi@goffi.org>
parents: 449
diff changeset
2
fd438e51bda8 server: version check:
Goffi <goffi@goffi.org>
parents: 449
diff changeset
3 __version__ = C.APP_VERSION