mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Set content length when uploading files to WebDAV (#139950)
This commit is contained in:
parent
452fbbe61c
commit
8780bc99eb
@ -169,6 +169,7 @@ class WebDavBackupAgent(BackupAgent):
|
||||
await open_stream(),
|
||||
f"{self._backup_path}/{filename_tar}",
|
||||
timeout=BACKUP_TIMEOUT,
|
||||
content_length=backup.size,
|
||||
)
|
||||
|
||||
_LOGGER.debug(
|
||||
|
Loading…
x
Reference in New Issue
Block a user