Buy commercial curl support from WolfSSL. 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
himself.
Naming ETag files?
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Paul Gilmartin via curl-users <curl-users_at_lists.haxx.se>
Date: Thu, 12 Jan 2023 12:53:19 -0700
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
Date: Thu, 12 Jan 2023 12:53:19 -0700
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.htmlReceived on 2023-01-12