fix bug due to vim stripping regex being wrong
This commit is contained in:
parent
0503db85ea
commit
d18becc861
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue