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: show the URL in the error message?

From: Dan Fandrich via curl-users <>
Date: Mon, 16 Nov 2020 09:53:10 -0800

On Mon, Nov 16, 2020 at 12:14:40PM +0000, Jeremy Nicoll via curl-users wrote:
> On Mon, 16 Nov 2020, at 02:37, Dan Fandrich via curl-users wrote:
> > There are ways that most applications can get more
> > fine-grained data (e.g., one of the 99 different error codes, one
> > of the 27 different callback functions or one of the 66 different CURLINFO
> > values).
> And which of those will contain the error URL?

CURLINFO_EFFECTIVE_URL a.k.a. --write-out %{url_effective}
Received on 2020-11-16