unlocking session in download

This commit is contained in:
Massimo
2013-02-05 13:23:51 -06:00
parent 409495cc70
commit a7c6268d2c
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.4.1-alpha.2+timestamp.2013.02.05.10.43.24 Version 2.4.1-alpha.2+timestamp.2013.02.05.13.23.12
+2
View File
@@ -385,6 +385,8 @@ class Response(Storage):
downloads from http://..../download/filename downloads from http://..../download/filename
""" """
current.session.forget(current.response)
if not request.args: if not request.args:
raise HTTP(404) raise HTTP(404)
name = request.args[-1] name = request.args[-1]