streaming export with log
This commit is contained in:
parent
f24b67ed85
commit
3e2c07a776
1 changed files with 4 additions and 1 deletions
|
|
@ -522,7 +522,10 @@ def getMigrationExportStream(
|
||||||
return StreamingResponse(
|
return StreamingResponse(
|
||||||
streamExportGenerator(dbList, instanceLabel),
|
streamExportGenerator(dbList, instanceLabel),
|
||||||
media_type="application/json",
|
media_type="application/json",
|
||||||
headers={"Content-Disposition": f'attachment; filename="{filename}"'},
|
headers={
|
||||||
|
"Content-Disposition": f'attachment; filename="{filename}"',
|
||||||
|
"X-Export-Databases": ",".join(dbList),
|
||||||
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue