cURL / Mailing Lists / curl-library / Single Mail


Re: uploading compressed data using a multipart form (and patch)

From: Mohun Biswas <>
Date: Mon, 12 Jan 2009 20:09:32 -0500

Daniel Stenberg wrote:
> The only really functional way to do this (that I can think of),
> HTTP-wise, is to do the entire POST using chunked encoding. libcurl does
> not have any particular support for doing multipart formposts using
> chunked encoding so you'd either have to introduce that support, or you
> need to do the full multipart formpost syntax layer yourself and send it
> as a "normal" POST using for example a read callback. libcurl _does_
> support it for plain POSTs.

Thanks for clarifying. I'm already looking at chunked transfer encoding.

> Thanks, I committed your patch just now!

Speaking of patches: I hate to mention such a trivial thing but there's
a comment in lib/urldata.h which misspells 'deflate' as 'delfate'.

Received on 2009-01-13