Hello Daniel/curl,

On 2/21/2014 8:23 PM, Daniel Stenberg wrote:
I'm getting a binary file via libcurl (7.35.0) and the server is
sending the data in chunks to me. In the bytes I get from libcurl I
see spurious \r\n's.

Is this normal? Am *I* supposed to strip out the \r\n's from the chunks?

No. libcurl is supposed to hide the transfer related stuff such as
content encoding details. And we do have numerous tests that prove that
it mostly works too.
<snip>

My apologies, it was definitely my fault: this is what you get when you use std output streams without settings them to binary!!

greetings,

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

Reply via email to