Discussion:
Invalid WEB Access returning 0 code
(too old to reply)
Mike Lambert
2018-02-22 23:16:20 UTC
Permalink
Hello,



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 ?



Regards,



Mike
Daniel Stenberg
2018-02-22 23:26:32 UTC
Permalink
Post by Mike Lambert
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/etiqu
Mike Lambert
2018-02-24 09:11:05 UTC
Permalink
Thank you

-----Original Message-----
From: curl-users [mailto:curl-users-***@cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Friday, 23 February 2018 10:27 AM
To: the curl tool <curl-***@cool.haxx.se>
Subject: Re: Invalid WEB Access returning 0 code
Post by Mike Lambert
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


-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquett
Loading...