diff options
Diffstat (limited to 'docs/libcurl/curl_mime_encoder.3')
-rw-r--r-- | docs/libcurl/curl_mime_encoder.3 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/libcurl/curl_mime_encoder.3 b/docs/libcurl/curl_mime_encoder.3 index 9a2b1c85f..2ff1e8e7e 100644 --- a/docs/libcurl/curl_mime_encoder.3 +++ b/docs/libcurl/curl_mime_encoder.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. +.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -19,7 +19,7 @@ .\" * KIND, either express or implied. .\" * .\" ************************************************************************** -.TH curl_mime_encoder 3 "November 04, 2020" "libcurl 7.78.0" "libcurl Manual" +.TH curl_mime_encoder 3 "October 25, 2021" "libcurl 7.80.0" "libcurl Manual" .SH NAME curl_mime_encoder - set a mime part's encoder and content transfer encoding @@ -42,7 +42,7 @@ Setting a part's encoder twice is valid: only the value set by the last call is retained. Upon multipart rendering, the part's content is encoded according to the -pertaining scheme and a corresponding \fIContent-Transfer-Encoding"\fP header +pertaining scheme and a corresponding \fI"Content-Transfer-Encoding"\fP header is added to the part. Supported encoding schemes are: @@ -71,10 +71,6 @@ If the original data is already encoded in such a scheme, a custom Encoding should not be applied to multiparts, thus the use of this function on a part with content set with \fIcurl_mime_subparts\fP() is strongly discouraged. -.SH AVAILABILITY -As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0. -.SH RETURN VALUE -CURLE_OK or a CURL error code upon failure. .SH EXAMPLE .nf curl_mime *mime; @@ -92,6 +88,10 @@ CURLE_OK or a CURL error code upon failure. /* encode file data in base64 for transfer */ curl_mime_encoder(part, "base64"); .fi +.SH AVAILABILITY +As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0. +.SH RETURN VALUE +CURLE_OK or a CURL error code upon failure. .SH "SEE ALSO" .BR curl_mime_addpart "(3)," .BR curl_mime_headers "(3)," |