cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Conditions for CURLE_PARTIAL_FILE (18)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 15 Nov 2013 23:40:45 +0100 (CET)

On Fri, 15 Nov 2013, Michael-O wrote:

> 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?

Yes, if there's data left in a chunk when the transfer ends. A broken last
chunk.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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