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: Daniel Stenberg via curl-users <>
Date: Sun, 4 Jul 2021 18:48:00 +0200 (CEST)

On Sun, 4 Jul 2021, Ray Satiro via curl-users wrote:

> 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

As I responded in the issue: it is by design. Calling it the second URL when
the user has only specified a single (globbed) URL will be utterly confusing
(in the other direction).

Something like a globbing index number could of course be provided but I think
it should be separate from urlnum.

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
Received on 2021-07-04