2019-10-30 04:43:14 -04:00
|
|
|
Long: etag-save
|
|
|
|
Arg: <file>
|
|
|
|
Help: Parse ETag from a request and save it to a file
|
|
|
|
Protocols: HTTP
|
2019-12-02 05:22:32 -05:00
|
|
|
Added: 7.68.0
|
2020-07-13 08:15:04 -04:00
|
|
|
Category: http
|
2019-10-30 04:43:14 -04:00
|
|
|
---
|
|
|
|
This option saves an HTTP ETag to the specified file. Etag is
|
|
|
|
usually part of headers returned by a request. When server sends an
|
|
|
|
ETag, it must be enveloped by a double quote. This option extracts the
|
|
|
|
ETag without the double quotes and saves it into the <file>.
|
|
|
|
|
|
|
|
A server can send a week ETag which is prefixed by "W/". This identifier
|
|
|
|
is not considered, and only relevant ETag between quotation marks is parsed.
|
|
|
|
|
|
|
|
It an ETag wasn't send by the server or it cannot be parsed, and empty
|
|
|
|
file is created.
|