Re: multipart/form-data problem

Daniel Stenberg <[email protected]> Mon, 13 Jun 2011 15:10:18 +0200 (CEST)
Newsgroups gmane.comp.web.curl.php
Message-ID <[email protected]>
On Sun, 12 Jun 2011, Anders Berg wrote:

> I am trying to send the following (output from Live HTTP headers) with 
> curl/php:

> $headers = array("Content-Type: multipart/form-data", "Content-Length: 144");

Remove both these two headers and libcurl will add them correctly itself!

-- 

  / daniel.haxx.se
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php