summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2016-09-15 05:38:12 (GMT)
committerRuslan Baratov <ruslan_baratov@yahoo.com>2016-09-15 18:41:39 (GMT)
commit8f6cb36695df3ded9e242c35c4b0e79850d24a31 (patch)
treec8a7084d9d6a21a902fb80c52f8aac2b0dc7ebe3 /Help
parent100817dc5d190ec7b8b4fe3ef822b6df9e5e7c67 (diff)
downloadCMake-8f6cb36695df3ded9e242c35c4b0e79850d24a31.zip
CMake-8f6cb36695df3ded9e242c35c4b0e79850d24a31.tar.gz
CMake-8f6cb36695df3ded9e242c35c4b0e79850d24a31.tar.bz2
file(DOWNLOAD|UPLOAD): Add HTTPHEADER suboption
Diffstat (limited to 'Help')
-rw-r--r--Help/command/file.rst3
-rw-r--r--Help/release/dev/file-curl-httpheader.rst5
2 files changed, 8 insertions, 0 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst
index f8727f0..77e9f62 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -225,6 +225,9 @@ Options to both ``DOWNLOAD`` and ``UPLOAD`` are:
``USERPWD <username>:<password>``
Set username and password for operation.
+``HTTPHEADER <HTTP-header>``
+ HTTP header for operation. Suboption can be repeated several times.
+
Additional options to ``DOWNLOAD`` are:
``EXPECTED_HASH ALGO=<value>``
diff --git a/Help/release/dev/file-curl-httpheader.rst b/Help/release/dev/file-curl-httpheader.rst
new file mode 100644
index 0000000..2147d40
--- /dev/null
+++ b/Help/release/dev/file-curl-httpheader.rst
@@ -0,0 +1,5 @@
+file-curl-httpheader
+--------------------
+
+* The :command:`file(DOWNLOAD)` and :command:`file(UPLOAD)` commands
+ gained a ``HTTPHEADER <HTTP-header>`` option.