]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Documentation: Add hint to set Content-Length header for post document (#8639)
authorFabian Krüger <56278322+fabapp2@users.noreply.github.com>
Wed, 8 Jan 2025 04:13:24 +0000 (05:13 +0100)
committerGitHub <noreply@github.com>
Wed, 8 Jan 2025 04:13:24 +0000 (04:13 +0000)
docs/api.md

index 8b755b11d87c44e853d4520a2066cfbfff8450a3..49e63c04bfe14a46f611acee1b3e74ec8b55aca9 100644 (file)
@@ -365,6 +365,10 @@ The endpoint supports the following optional form fields:
 -   `custom_fields`: An array of custom field ids to assign (with an empty
     value) to the document.
 
+!!! note
+
+    Sending a `Content-Length` header with correct size is mandatory.
+
 The endpoint will immediately return HTTP 200 if the document consumption
 process was started successfully, with the UUID of the consumption task
 as the data. No additional status information about the consumption process