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: Curl with --write-out parameter
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Ilya Basin via curl-users <curl-users_at_lists.haxx.se>
Date: Sun, 10 Oct 2021 01:05:06 +0300
Good evening.
Try the following (notice it's now one argument, not two):
curl https://curl.se/ --write-out "%{size_download} %{time_total}\n"
On 10.10.2021 1:00, Mo via curl-users wrote:
> Hi Curl-Community,
>
> I want to collect information with curl about time_total and size_download.
>
> In my lab I can not use two parameters in one line like 'curl [...] --write-out "%{size_download}\n" "%{time_total}\n"'
>
> Do you have to send a seperate curl request for each parameter?
>
> Am I right?
>
>
> Cheers
>
>
>
> ---
> Mit freundlichen Grüßen
>
> Support
> MMarzouki
>
Date: Sun, 10 Oct 2021 01:05:06 +0300
Good evening.
Try the following (notice it's now one argument, not two):
curl https://curl.se/ --write-out "%{size_download} %{time_total}\n"
On 10.10.2021 1:00, Mo via curl-users wrote:
> Hi Curl-Community,
>
> I want to collect information with curl about time_total and size_download.
>
> In my lab I can not use two parameters in one line like 'curl [...] --write-out "%{size_download}\n" "%{time_total}\n"'
>
> Do you have to send a seperate curl request for each parameter?
>
> Am I right?
>
>
> Cheers
>
>
>
> ---
> Mit freundlichen Grüßen
>
> Support
> MMarzouki
>
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-users Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2021-10-10