curl-users
Conditions for CURLE_PARTIAL_FILE (18)
Date: Fri, 15 Nov 2013 14:48:05 +0100 (CET)
Hi,
I am consuming an HTTP URL with curl 7.33.0 and do not fully understand why exit code 18 is returned.
The server returns 'text/plain' with 'Transfer-Encoding: chunked'. As far as I understood this [1], 18 is returned only when Content-Length is present and the value does not match to the actual bytes.
Does this apply for chunked data too when bytes do not match to the amount of bytes written in the response body?
Thanks,
Michael
[1] http://curl.haxx.se/libcurl/c/libcurl-errors.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-11-15