bypass all session logic when application does not exist

This commit is contained in:
mdipierro
2013-08-29 08:09:56 -05:00
parent cbf550afbe
commit 1ffd110d05
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.6.0-development+timestamp.2013.08.28.09.56.28 Version 2.6.0-development+timestamp.2013.08.29.08.09.00
+3 -1
View File
@@ -455,7 +455,9 @@ def wsgibase(environ, responder):
except HTTP, http_response: except HTTP, http_response:
if static_file: # if this is a static file
# or the application does not exist
if static_file or not hasattr(current,'request'):
return http_response.to(responder, env=env) return http_response.to(responder, env=env)
if request.body: if request.body: