curl-w32/docs/cmdline-opts/etag-save.md

510 B

c SPDX-License-Identifier Long Arg Help Protocols Added Category Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl etag-save <file> Parse ETag from a request and save it to a file HTTP 7.68.0 http single
etag-compare
--etag-save storetag.txt $URL

--etag-save

This option saves an HTTP ETag to the specified file. An ETag is a caching related header, usually returned in a response.

If no ETag is sent by the server, an empty file is created.