cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to POST binary data with libcurl?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 27 Jul 2006 19:54:09 +0200 (CEST)

On Thu, 27 Jul 2006, Tillmann Steinbrecher wrote:

> I can now confirm that; I was running into a bug in PHP which was already
> reported 5 years ago (http://bugs.php.net/bug.php?id=14321) - Daniel, you
> were also apparently involved back then :); but the bug STILL isn't fixed in
> the very latest PHP release.

I've said it before and I can say it again: the PHP multipart formpost
receiver is stupid. It was back then and it obviously still is. The current
libcurl code in fact still inhibits the sending of a
Content-Transfer-Encoding: header just because of its stupidness.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-07-27