Name
easy:SetOpt_MIME_Options -- get MIME option flags (V2.0)
Synopsis
easy:SetOpt_MIME_Options(options)
Function
Pass a bitmask of #CURLMIMEOPT_* defines. Each bit is a Boolean flag used while encoding a MIME tree or multipart form data.

Available bits are:

#CURLMIMEOPT_FORMESCAPE
Tells libcurl to escape multipart form field and file names using the backslash-escaping algorithm rather than percent-encoding (HTTP only). Backslash-escaping consists in preceding backslashes and double quotes with a backslash. Percent encoding maps all occurrences of double quote, carriage return and line feed to %22, %0D and %0A respectively. HTTP browsers used to do backslash-escaping in the past but have over time transitioned to use percent-encoding. This option allows one to address server-side applications that have not yet have been converted.

Inputs
options
input value

Show TOC