| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: C API questions
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 4 Dec 2002 15:12:34 +0100 (MET)
On Wed, 4 Dec 2002, Robert Barsch - DOYOUWEB.DE wrote:
> Now my task is, to rewrite this C client to use HTTPS - works fine for a
libcurl will not allow you to do multi-part formposts easily without size
> As far I understood the examples there is no possibility for
I don't understand what you mean.
> you only can use strings
No, you can send away anything, including binary stuff. Whatever you please
> which (as far as I know) are restricted to 64k in pure C.
They are not. You must be confusing C with something else! ;-)
> Is this right so far or did I oversee anything? (I'm anything else than a C
What are you working around? Why can't you just convert your working PHP
> Guess CURLOPT_CUSTOMREQUEST wont work in this case anymore...
To do what?
I don't think you really want the CURLOPT_CRLF, or do you?
> headers = curl_slist_append(headers, "Host: www.x-act.org");
libcurl would make its own Host: header, you don't need to provide it
> headers = curl_slist_append(headers, "Content-Type:
This won't work. More about this:
> there is the problem, that libcurl always overwrites my content-type with
Nope. There's nothing that prevents us to add a system to curl where this can
1. Multipart formposts as defined in RFC1867 seems to have defined that
Also, since the boundary string is generated and used within the formdata
2. Since you have a pretty clear understanding and exact wishes of what you
> (3) If I use CURLOPT_VERBOSE I only see the send header - is there a way to
Yes, CURLOPT_DEBUGFUNCTION gives you the lot.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at: http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003enReceived on 2002-12-04 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info