curl / Mailing Lists / curl-users / Single Mail
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: Option «urlnum» in the JSON

From: Ray Satiro via curl-users <curl-users_at_cool.haxx.se>
Date: Sun, 4 Jul 2021 01:46:01 -0400

On 7/3/2021 7:28 AM, Коваленко Анатолий Викторович via curl-users wrote:
> curl.exe -I -w "%{JSON}""https://curl.se/windows/dl-7.77.0_2/curl-7.77.0_2-win{32,64}-mingw.zip"
> Why «"urlnum":0» for the SECOND file?

The URL index as it is shown via %{urlnum} is the URL index from the
command line, it does not include iterations/globbing. I reported it as
https://github.com/curl/curl/issues/7342


-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2021-07-04