• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 Long: etag-save
2 Arg: <file>
3 Help: Parse ETag from a request and save it to a file
4 Protocols: HTTP
5 Added: 7.68.0
6 Category: http
7 ---
8 This option saves an HTTP ETag to the specified file. Etag is
9 usually part of headers returned by a request. When server sends an
10 ETag, it must be enveloped by a double quote. This option extracts the
11 ETag without the double quotes and saves it into the <file>.
12 
13 A server can send a week ETag which is prefixed by "W/". This identifier
14 is not considered, and only relevant ETag between quotation marks is parsed.
15 
16 It an ETag wasn't send by the server or it cannot be parsed, and empty
17 file is created.
18