Set content length when uploading files to WebDAV (#139950)

This commit is contained in:
Jan-Philipp Benecke 2025-03-07 10:44:17 +01:00 committed by GitHub
parent 452fbbe61c
commit 8780bc99eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(