class mime_argument :?work_around_backslash_bug:bool -> string -> Netmime.mime_message ->
Netcgi_types.cgi_argument
new mime_argument name msg
: Creates a MIME-structured CGI
argument called name
with contents msg
.
You can create msg
by either Netmime.memory_mime_message
or
Netmime.file_mime_message
.
work_around_backslash_bug
: Whether to work around a bug
found in almost all browsers regarding the treatment of
backslashes. The browsers do not quote backslashes in file
names. This breaks RFC standards, however. This argument
is true
by default.