diff options
author | Maxim Devaev <[email protected]> | 2022-07-23 08:50:20 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-07-23 08:50:20 +0300 |
commit | 3e402f4d7b6817a2c2d8b6f3cea46da5420e8dc1 (patch) | |
tree | a33f904c0516ae86e61267d25a6a885318a4958f /kvmd/apps | |
parent | 5b11b6bc55d9e32b4802ca86b7b66aea827025ce (diff) |
refactoring
Diffstat (limited to 'kvmd/apps')
-rw-r--r-- | kvmd/apps/kvmd/api/msd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/kvmd/api/msd.py b/kvmd/apps/kvmd/api/msd.py index 75852dd7..cedc0aa1 100644 --- a/kvmd/apps/kvmd/api/msd.py +++ b/kvmd/apps/kvmd/api/msd.py @@ -129,7 +129,7 @@ class MsdApi: get_logger(0).info("Downloading image %r as %r to MSD ...", url, name) async with self.__msd.write_image(name, size) as chunk_size: - response = await start_streaming(request) + response = await start_streaming(request, "application/x-ndjson") await stream_write_info() last_report_ts = 0 async for chunk in remote.content.iter_chunked(chunk_size): |