Re: [RFE] Improve etag handling with --etag-compare-update
Aleksei via curl-users <[email protected]> Tue, 29 Apr 2025 10:46:46 +0300
| Newsgroups | gmane.comp.web.curl.general |
|---|---|
| Message-ID | <weqwwexzculbczfws4lummqgs3n4hpwk45g5liuirqhfhab6bo@76zweldc7mug> |
On 2025-04-29, Daniel Stenberg wrote: >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 Looks good to me, I would only add "with the same filename" after "--etag-compare". -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.html