cURL / Mailing Lists / curl-users / Single Mail

curl-users

multipart/form-data question

From: Piotr Dobrogost <pd_at_curlpp.org>
Date: Wed, 01 Apr 2009 22:15:30 +0200

Hi

I'd like to do a POST with multipart/form-data data.
Below is a trace of Firefox session from LiveHTTPHeaders:

Content-Type: multipart/form-data;
boundary=---------------------------26428280274084
Content-Length: 6065
-----------------------------26428280274084
Content-Disposition: form-data; name="__EVENTTARGET"

-----------------------------26428280274084
Content-Disposition: form-data; name="__EVENTARGUMENT"

-----------------------------26428280274084
Content-Disposition: form-data;
name="dnn$dnnDSLOCALESELECTOR2$lstAvailableLanguages"

pl-PL
-----------------------------26428280274084

<cut>

My question is;
Does curl take care of boundary and Content-Disposition: things?

-- 
Piotr Dobrogost
*** curlpp.org - c++ wrapper for libcurl ***
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-04-01