Changeset - 72c3cea0175a
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-10-08 15:19:28
marcin@python-works.com
fixes problem with basic auth and pushes
1 file changed with 6 insertions and 4 deletions:
0 comments (0 inline, 0 general)
rhodecode/config/middleware.py
Show inline comments
 
@@ -51,6 +51,12 @@ def make_app(global_conf, full_stack=Tru
 
        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 @@ def make_app(global_conf, full_stack=Tru
 
        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
 

	
0 comments (0 inline, 0 general)