curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: Invalid WEB Access returning 0 code

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 23 Feb 2018 00:26:32 +0100 (CET)

On Fri, 23 Feb 2018, Mike Lambert wrote:

> When I access an invalid web address such as www.aaaaa.com
> <http://www.aaaaa.com> .. the return code is 6
>
> When I access an invalid web address in the format www.aaaaa.com/bbbb
> <http://www.aaaaa.com/bbbb> the return code is 0.
>
> Is this correct ?

It seems highly unexpected, sure, but if you start out with using -v the
verbose output might give you some clues on what is going on.

-- 
  / daniel.haxx.se
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-02-23