Lines Matching refs:part
19 curl_mime_type - set a mime part's content type
26 CURLcode curl_mime_type(curl_mimepart *part, const char *mimetype);
31 curl_mime_type(3) sets a mime part's content type.
33 *part* is the part's handle to assign the content type to.
38 The mime type string is copied into the part, thus the associated storage may
39 safely be released or reused after call. Setting a part's type multiple times
52 - For a multipart part, multipart/mixed.
62 curl_mimepart *part;
69 /* add a part */
70 part = curl_mime_addpart(mime);
73 curl_mime_filedata(part, "image.png");
75 /* content-type for this part */
76 curl_mime_type(part, "image/png");
79 curl_mime_name(part, "image");