diff pylons_app/config/middleware.py @ 207:8bdec09436cb rhodecode-0.0.0.7.1

bumped version to 0.7.1 added atom and rss feeds. Moved https Fixud middleware before error middleware to proper generate debug page (static imports)
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 23 May 2010 02:07:56 +0200
parents a8ea3ce3cdc4
children c8162373f214
line wrap: on
line diff
--- a/pylons_app/config/middleware.py	Sun May 23 01:07:58 2010 +0200
+++ b/pylons_app/config/middleware.py	Sun May 23 02:07:56 2010 +0200
@@ -44,7 +44,7 @@
     
     # CUSTOM MIDDLEWARE HERE (filtered by error handling middlewares)
     #set the https based on HTTP_X_URL_SCHEME
-    app = HttpsFixup(app)
+    
     app = SimpleHg(app, config)
     
     if asbool(full_stack):
@@ -58,6 +58,7 @@
         else:
             app = StatusCodeRedirect(app, [400, 401, 403, 404, 500])
     
+    app = HttpsFixup(app)
     # Establish the Registry for this application
     app = RegistryManager(app)