curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

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

From: Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>
Date: Tue, 29 Apr 2025 09:26:39 +0200 (CEST)

On Tue, 29 Apr 2025, Aleksei wrote:

> Thanks for explanations Daniel, all clear now. Perhaps these things should
> be mentioned in the man page, the current --etag-save and --etag-compare
> sections gave me a clear impression these options are to be used in separate
> curl invocations.

How about adding this paragraph to the --etag-save documentation?

   In many situations you want to use an existing etag in the request to avoid
   downloading the same resource again but also save the new etag if it has
   indeed changed, by using both etag options --etag-save and --etag-compare,
   in the same 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
Received on 2025-04-29