We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca483a7 commit 25a87ffCopy full SHA for 25a87ff
templates/dotnet/src/Appwrite/Client.cs.twig
@@ -354,7 +354,7 @@ namespace {{ spec.title | caseUcfirst }}
354
parameters[paramName] = content;
355
356
headers["Content-Range"] =
357
- $"bytes {offset}-{Math.Min(offset + ChunkSize - 1, size)}/{size}";
+ $"bytes {offset}-{Math.Min(offset + ChunkSize - 1, size - 1)}/{size}";
358
359
result = await Call<Dictionary<string, object?>>(
360
method: "POST",
0 commit comments