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.
Re: Resolved "--remote-header-name"?
- 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: Tue, 15 Feb 2022 20:25:45 -0700
On Feb 15, 2022, at 18:56:59, Dan Fandrich wrote:
>
> On Tue, Feb 15, 2022 at 06:15:13PM -0700, Paul Gilmartin via curl-users wrote:
>> But it's better than that. --write-out %{filename_effective} seems
>> to work even if the trial download fails, and I can cause that to
>> happen. Little bandwidth wasted. But can I count on that not
>> changing in a future release?
>
> It should also work with the --head option, which just downloads headers.
>
Alas, the message:
curl: showing headers and --remote-header-name cannot be combined
Makks some sense: By the time it sees "filename" it has already
begun writing the headers.
Date: Tue, 15 Feb 2022 20:25:45 -0700
On Feb 15, 2022, at 18:56:59, Dan Fandrich wrote:
>
> On Tue, Feb 15, 2022 at 06:15:13PM -0700, Paul Gilmartin via curl-users wrote:
>> But it's better than that. --write-out %{filename_effective} seems
>> to work even if the trial download fails, and I can cause that to
>> happen. Little bandwidth wasted. But can I count on that not
>> changing in a future release?
>
> It should also work with the --head option, which just downloads headers.
>
Alas, the message:
curl: showing headers and --remote-header-name cannot be combined
Makks some sense: By the time it sees "filename" it has already
begun writing the headers.
-- Thanks, gil -- Unsubscribe: https://lists.haxx.se/listinfo/curl-users Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2022-02-16