etag-save.d 480 B

12345678910111213141516
  1. c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: etag-save
  4. Arg: <file>
  5. Help: Parse ETag from a request and save it to a file
  6. Protocols: HTTP
  7. Added: 7.68.0
  8. Category: http
  9. Example: --etag-save storetag.txt $URL
  10. See-also: etag-compare
  11. Multi: single
  12. ---
  13. This option saves an HTTP ETag to the specified file. An ETag is a
  14. caching related header, usually returned in a response.
  15. If no ETag is sent by the server, an empty file is created.