diff options
-rw-r--r-- | Help/command/file.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst index df895d0..6ab7421 100644 --- a/Help/command/file.rst +++ b/Help/command/file.rst @@ -1077,7 +1077,14 @@ Options to both ``DOWNLOAD`` and ``UPLOAD`` are: ``HTTPHEADER <HTTP-header>`` .. versionadded:: 3.7 - HTTP header for operation. Suboption can be repeated several times. + HTTP header for ``DOWNLOAD`` and ``UPLOAD`` operations. ``HTTPHEADER`` can be + repeated for multiple options: + + .. code-block:: cmake + + file(DOWNLOAD <url> + HTTPHEADER "Authorization: Bearer <auth-token>" + HTTPHEADER "UserAgent: Mozilla/5.0") ``NETRC <level>`` .. versionadded:: 3.11 |