Mercurial > kallithea
changeset 1534:72c3cea0175a beta
fixes problem with basic auth and pushes
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 08 Oct 2011 15:19:28 +0200 |
parents | c0e6057543ff |
children | c307c920f94c |
files | rhodecode/config/middleware.py |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/config/middleware.py Sat Oct 08 03:00:26 2011 +0200 +++ b/rhodecode/config/middleware.py Sat Oct 08 15:19:28 2011 +0200 @@ -51,6 +51,12 @@ from rhodecode.lib.profiler import ProfilingMiddleware app = ProfilingMiddleware(app) + + # we want our low level middleware to get to the request ASAP. We don't + # need any pylons stack middleware in them + app = SimpleHg(app, config) + app = SimpleGit(app, config) + if asbool(full_stack): # Handle Python exceptions app = ErrorHandler(app, global_conf, **config['pylons.errorware']) @@ -74,10 +80,6 @@ app = Cascade([static_app, app]) app = make_gzip_middleware(app, global_conf, compress_level=1) - # we want our low level middleware to get to the request ASAP. We don't - # need any pylons stack middleware in them - app = SimpleHg(app, config) - app = SimpleGit(app, config) app.config = config