cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Mohun Biswas <m_biswas_at_mailinator.com>
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!

<anal>
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'.
</anal>

MB
Received on 2009-01-13