Skip to content

Commit

Permalink
fix(nextcloud): Add Content-Length header in WebDavClient.put
Browse files Browse the repository at this point in the history
Signed-off-by: CUI Hao <[email protected]>
  • Loading branch information
cuihaoleo committed Dec 9, 2023
1 parent a99c8d8 commit c267ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nextcloud/lib/src/webdav/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class WebDavClient {
headers: _getUploadHeaders(
lastModified: lastModified,
created: created,
contentLength: null,
contentLength: localData.length,
),
);

Expand Down

0 comments on commit c267ab3

Please sign in to comment.