cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: clarifying multipart response with libcurl

From: Aleksandar Lazic <al-curllibrary_at_none.at>
Date: Fri, 30 Nov 2007 12:40:34 +0100

On Don 29.11.2007 16:49, Daniel Stenberg wrote:
> On Thu, 29 Nov 2007, Aleksandar Lazic wrote:
>
>> I need to parse this multipart response.
>
> [---]
>
>> I plan to use the CURLOPT_WRITEFUNCTION from libcurl to parse the
>> response and get the datas into my program.
>>
>> Is there a better way to handle multipart response with libcurl?!
>
> Nope, as libcurl doesn't meddle with the contents it just delivers it
> to you. It even has no clues what a multipart response is or when it
> gets one.

Ok, as I understand ;-)

> I wrote a multipart parser in C a short while ago so I know it can be
> a bit tricky to get the details right.

Is this opensource or commercial?!

Cheers

Aleks
Received on 2007-11-30