feat(mobile): uploading files in chunk (#2101)
This commit is contained in:
parent
9adbbd42be
commit
b49f66bbc9
1 changed files with 1 additions and 0 deletions
|
@ -243,6 +243,7 @@ class BackupService {
|
||||||
);
|
);
|
||||||
req.headers["Authorization"] =
|
req.headers["Authorization"] =
|
||||||
"Bearer ${Store.get(StoreKey.accessToken)}";
|
"Bearer ${Store.get(StoreKey.accessToken)}";
|
||||||
|
req.headers["Transfer-Encoding"] = "chunked";
|
||||||
|
|
||||||
req.fields['deviceAssetId'] = entity.id;
|
req.fields['deviceAssetId'] = entity.id;
|
||||||
req.fields['deviceId'] = deviceId;
|
req.fields['deviceId'] = deviceId;
|
||||||
|
|
Loading…
Reference in a new issue