Use .json.txt for diagnostics download filetype (#65236)
This commit is contained in:
parent
872bc456a9
commit
11ad1589fa
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ async def _async_get_json_file_response(
|
|||
return web.Response(
|
||||
body=json_data,
|
||||
content_type="application/json",
|
||||
headers={"Content-Disposition": f'attachment; filename="{filename}.json"'},
|
||||
headers={"Content-Disposition": f'attachment; filename="{filename}.json.txt"'},
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue