unlocking session in download

This commit is contained in:
Massimo committed 2013-02-05 13:23:51 -06:00
1 parent 409495cc70
commit a7c6268d2c
2 files changed
+3 -1

No files matched your search

+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
"""
current.session.forget(current.response)
if not request.args:
raise HTTP(404)
name = request.args[-1]