1 Long: etag-compare 2 Arg: <file> 3 Help: Pass an ETag from a file as a custom header 4 Protocols: HTTP 5 Added: 7.68.0 6 Category: http 7 Example: --etag-compare etag.txt $URL 8 --- 9 This option makes a conditional HTTP request for the specific ETag read 10 from the given file by sending a custom If-None-Match header using the 11 stored ETag. 12 13 For correct results, make sure that the specified file contains only a 14 single line with the desired ETag. An empty file is parsed as an empty 15 ETag. 16 17 Use the option --etag-save to first save the ETag from a response, and 18 then use this option to compare against the saved ETag in a subsequent 19 request. 20