Re: [RFE] Improve etag handling with --etag-compare-update

Daniel Stenberg via curl-users <[email protected]> Tue, 29 Apr 2025 09:11:17 +0200 (CEST)
Newsgroups gmane.comp.web.curl.general
Message-ID <[email protected]>
On Tue, 29 Apr 2025, Aleksei wrote:

> If they work together in a single invocation then great, no enhancement
> needed. Man page describes ETag usage in separate requests:
>
>  Use the option --etag-save to first save the ETag from a response, and
>  then use  this option to compare against the saved ETag in a
>  **subsequent request**.

It saves the etag from this transfer for the purpose of using in the next 
command line.

The compare option however uses the existing file contents for *this* command 
line.

-- 

  / daniel.haxx.se || https://rock-solid.curl.dev
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html