curl / Mailing Lists / curl-library / 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: Let libcurl return the full list of mirror's URLs for a downloading file.

From: Dan Fandrich via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 21 Jun 2020 10:34:18 -0700

On Sun, Jun 21, 2020 at 09:15:05PM +0800, Hongyi Zhao via curl-library wrote:
> As you can see, it seems libcurl returns the random URL for the target
> file. I want to know whether libcurl has the capability of obtaining
> all the potential mirror's URLs.

curl returns exactly what the server sends it. It doesn't touch the data, nor
has any way to return more data than the server sends. If you need different
(or more) data from the server, you need to find out if it offers an API to
request that data.

Dan
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-06-21