hsts.d 712 B

1234567891011121314151617181920
  1. c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: hsts
  4. Arg: <file name>
  5. Protocols: HTTPS
  6. Help: Enable HSTS with this cache file
  7. Added: 7.74.0
  8. Category: http
  9. Example: --hsts cache.txt $URL
  10. See-also: proto
  11. ---
  12. This option enables HSTS for the transfer. If the file name points to an
  13. existing HSTS cache file, that will be used. After a completed transfer, the
  14. cache will be saved to the file name again if it has been modified.
  15. Specify a "" file name (zero length) to avoid loading/saving and make curl
  16. just handle HSTS in memory.
  17. If this option is used several times, curl will load contents from all the
  18. files but the last one will be used for saving.