Naming ETag files?
Paul Gilmartin via curl-users <[email protected]>
| Newsgroups | gmane.comp.web.curl.general |
|---|---|
| Message-ID | <[email protected]> |
I would like to save my --etag-compare and --etag-save (probably the same
name) files with names generated from the --remote-header-name; perhaps
as simple as "$remote-header-name.ETag". Is there an orderly and reliable
way to do this?
I'm not entirely optimistic because I suspect the if-match may need to be
processed before the is available.
As an alternative, is it possible to use "--write-out %{filename_effective}"
without actually downloading the resource? I could then use
"$filename_effective.ETag" to name my ETags.
Thanks
--
gil
--
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette: https://curl.se/mail/etiquette.html