]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmdline-docs: mention HTTP resumed uploads to be shaky
authorDaniel Stenberg <daniel@haxx.se>
Mon, 2 Jun 2025 12:16:25 +0000 (14:16 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 2 Jun 2025 21:23:50 +0000 (23:23 +0200)
In the documentation for the --continue-at and --range options.

A future version could implement support for the new standard HTTP resumed
uploads mechanism.

Ref: #17510
Closes #17521

docs/cmdline-opts/continue-at.md
docs/cmdline-opts/range.md

index 969068f2a38bde8bb946547934a6b18cb8133074..67a13760930642c475040e6aa93ca1346ed87cfd 100644 (file)
@@ -25,6 +25,11 @@ the FTP server command SIZE is not used by curl.
 Use "-C -" to instruct curl to automatically find out where/how to resume the
 transfer. It then uses the given output/input files to figure that out.
 
+When using this option for HTTP uploads using POST or PUT, functionality is
+not guaranteed. The HTTP protocol has no standard interoperable resume upload
+and curl uses a set of headers for this purpose that once proved working for
+some servers and have been left for those who find that useful.
+
 This command line option is mutually exclusive with --range: you can only use
 one of them for a single transfer.
 
index fcd4fe3bdf75ba83335d66429859703946fc87d4..ab1b126575672a07d953597b375fe00111fc8610 100644 (file)
@@ -57,5 +57,10 @@ FTP and SFTP range downloads only support the simple 'start-stop' syntax
 (optionally with one of the numbers omitted). FTP use depends on the extended
 FTP command SIZE.
 
+When using this option for HTTP uploads using POST or PUT, functionality is
+not guaranteed. The HTTP protocol has no standard interoperable resume upload
+and curl uses a set of headers for this purpose that once proved working for
+some servers and have been left for those who find that useful.
+
 This command line option is mutually exclusive with --continue-at: you can only
 use one of them for a single transfer.