curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Formpost API replacement

From: Patrick Monnerat via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 17 Aug 2017 18:30:50 +0100

On 08/17/2017 06:07 PM, Patrick Monnerat via curl-library wrote:
>
> I have started coding the old form API replacement as a wider MIME
> API. It's still incomplete, although already usable.
>
I forgot to mention:
- curl_mime_data_cb() takes 2 more arguments: these are optional
callback pointers to seek data and release the arg upon freeing.
- Unlike with the formpost API, the generated data stream is built "on
the fly" and thus does not need to fit in memory: this allows huge
mime/form posting.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-08-17