From 0c5bf78269efcb1300bad731f36892e222e8aab7 Mon Sep 17 00:00:00 2001 From: Michael Stingl Date: Wed, 13 Dec 2023 18:59:06 +0100 Subject: [PATCH] TUS - incorporate feedback from #7882 --- docs/apis/http/tus_upload.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/apis/http/tus_upload.md b/docs/apis/http/tus_upload.md index 7eb33a033..c15f3e5bc 100644 --- a/docs/apis/http/tus_upload.md +++ b/docs/apis/http/tus_upload.md @@ -17,6 +17,7 @@ This documentation shows some basic examples, refer [tus official site](https:// The backend announces certain tus features to clients. WebDAV responses come with tus HTTP headers for the offical tus features, and additional, ownCloud specific features are announced via the capabilities endpoint (e.g. `https://localhost:9200/ocs/v1.php/cloud/capabilities?format=json`). +The following snippet shows the relevant part of the server capabilities of Infinite Scale that concerns the tus upload: ```json { "ocs": { @@ -218,7 +219,7 @@ curl -ks -XPOST https://ocis.test/remote.php/dav/spaces/{space-id} \ {{< /tabs >}} {{< hint type=warning title="Important Warning" >}} -`Upload-Length` header should contain the exact byte as upload content. +The `Upload-Length` header of the request has to contain the exact size of the upload content in byte. {{< /hint >}} ## Supported Upload-Metadata