cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: clarifying multipart response with libcurl

From: Wolfgang Riedel <wolfgang.riedel_at_development.retarus.de>
Date: Fri, 30 Nov 2007 16:32:40 +0100

Aleksandar Lazic schrieb:
> 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

Don't know if does what your're looking for,
but there is an opensource MIME multipart-parser in wu-imap
http://www.washington.edu/imap/
sc. rfc822.c

hth,

wolfgang
Received on 2007-11-30