From b49f66bbc9fe0561c6e951b597333a9f7096a482 Mon Sep 17 00:00:00 2001 From: Parikshit Misra <9302404+perryizgr8@users.noreply.github.com> Date: Wed, 29 Mar 2023 00:11:55 +0530 Subject: [PATCH] feat(mobile): uploading files in chunk (#2101) --- mobile/lib/modules/backup/services/backup.service.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/lib/modules/backup/services/backup.service.dart b/mobile/lib/modules/backup/services/backup.service.dart index 348fa69d15..13553e718c 100644 --- a/mobile/lib/modules/backup/services/backup.service.dart +++ b/mobile/lib/modules/backup/services/backup.service.dart @@ -243,6 +243,7 @@ class BackupService { ); req.headers["Authorization"] = "Bearer ${Store.get(StoreKey.accessToken)}"; + req.headers["Transfer-Encoding"] = "chunked"; req.fields['deviceAssetId'] = entity.id; req.fields['deviceId'] = deviceId;