xref: /curl/docs/cmdline-opts/etag-save.md (revision fe9f68fa)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: etag-save
5Arg: <file>
6Help: Parse incoming ETag and save to a file
7Protocols: HTTP
8Added: 7.68.0
9Category: http
10Multi: single
11See-also:
12  - etag-compare
13Example:
14  - --etag-save storetag.txt $URL
15---
16
17# `--etag-save`
18
19Save an HTTP ETag to the specified file. An ETag is a caching related header,
20usually returned in a response.
21
22If no ETag is sent by the server, an empty file is created.
23