[z3-checkins] r52627 - z3/deliverance/branches/rocky-delivers/deliverance

rocky at codespeak.net rocky at codespeak.net
Mon Mar 17 00:11:49 CET 2008


Author: rocky
Date: Mon Mar 17 00:11:48 2008
New Revision: 52627

Modified:
   z3/deliverance/branches/rocky-delivers/deliverance/wsgimiddleware.py
Log:
Don't exclude a response just because it has 401 status.


Modified: z3/deliverance/branches/rocky-delivers/deliverance/wsgimiddleware.py
==============================================================================
--- z3/deliverance/branches/rocky-delivers/deliverance/wsgimiddleware.py	(original)
+++ z3/deliverance/branches/rocky-delivers/deliverance/wsgimiddleware.py	Mon Mar 17 00:11:48 2008
@@ -222,8 +222,8 @@
         theme = True
         status_code = status.split()[0]
         if (status_code.startswith('3')
-            or status_code == '204'
-            or status_code == '401'):
+            or status_code == '204'):
+            #or status_code == '401'):
             # Redirects, not-modified, etc don't get themed (3xx)
             # No Content doesn't get themed (204)
             # Unauthorized isn't themed (401)


More information about the z3-checkins mailing list