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 Franck Nijhof
parent 3a8c8accfe
commit b4794b2029

View File

@@ -171,6 +171,7 @@ class WebDavBackupAgent(BackupAgent):
await open_stream(),
f"{self._backup_path}/{filename_tar}",
timeout=BACKUP_TIMEOUT,
content_length=backup.size,
)
_LOGGER.debug(