fix bug due to vim stripping regex being wrong

This commit is contained in:
Damien Churchill 2011-04-20 18:37:39 +01:00
parent 0503db85ea
commit d18becc861
1 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@ class TestRenameResource(Resource):
def render(self, request):
filename = request.args.get("filename", ["renamed_file"])[0]
request.setHeader("Content-Type", "text/plain")
request.setHeader("Content-Disposition", "attachment; filename="
request.setHeader("Content-Disposition", "attachment; filename=" +
filename)
return "This file should be called " + filename