On Fri, 17 Jun 2016, Richard Gray wrote:

if a broken server sent 3xx and no location header would that be some sort of error condition?

Yes, I would say so. At least for the (5?) specific 3xx codes that mean redirect.

So in general, is it correct to say that if a curl_easy_getinfo call returns CURLE_OK but the requested info is not available because of options or conditions during the transfer, the pointer gets set to NULL?

Yeps!

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to