mirror of
https://github.com/curl/curl.git
synced 2024-12-03 06:20:31 +08:00
68784d73c3
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
18 lines
594 B
Makefile
18 lines
594 B
Makefile
Long: hsts
|
|
Arg: <file name>
|
|
Protocols: HTTPS
|
|
Help: Enable HSTS with this cache file
|
|
Added: 7.74.0
|
|
Category: http
|
|
Example: --hsts cache.txt $URL
|
|
---
|
|
This option enables HSTS for the transfer. If the file name points to an
|
|
existing HSTS cache file, that will be used. After a completed transfer, the
|
|
cache will be saved to the file name again if it has been modified.
|
|
|
|
Specify a "" file name (zero length) to avoid loading/saving and make curl
|
|
just handle HSTS in memory.
|
|
|
|
If this option is used several times, curl will load contents from all the
|
|
files but the last one will be used for saving.
|