Closed bbc2 closed 3 years ago
This adds a field name of type string option to curlMIMEPart. If name is Some str, the library uses curl_mime_name to give the part a name.
name
string option
curlMIMEPart
Some str
curl_mime_name
This enables the use of the library for uploading to S3 while avoiding the deprecated curl_form* functions.
curl_form*
The same could be done with https://curl.se/libcurl/c/curl_mime_filename.html. Let me know if you'd like me to add that as well.
Thanks!
This adds a field
name
of typestring option
tocurlMIMEPart
. Ifname
isSome str
, the library usescurl_mime_name
to give the part a name.This enables the use of the library for uploading to S3 while avoiding the deprecated
curl_form*
functions.