mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-15 06:05:58 -06:00
fix: adapt send_file usage
This commit is contained in:
parent
1d00a931ae
commit
e91daf5627
2 changed files with 2 additions and 2 deletions
|
|
@ -189,7 +189,7 @@ class Restore(Resource):
|
|||
resp = send_file(
|
||||
fh,
|
||||
as_attachment=True,
|
||||
attachment_filename=filename,
|
||||
download_name=filename,
|
||||
mimetype="application/zip",
|
||||
)
|
||||
resp.set_cookie("fileDownload", "true")
|
||||
|
|
|
|||
|
|
@ -240,7 +240,7 @@ class TaskGetFile(Resource):
|
|||
resp = send_file(
|
||||
fh,
|
||||
as_attachment=True,
|
||||
attachment_filename=filename,
|
||||
download_name=filename,
|
||||
mimetype="application/zip",
|
||||
)
|
||||
resp.set_cookie("fileDownload", "true")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue