From ce0881edee3c78609eae49665fb70264d8786d29 Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Sat, 2 Sep 2017 17:47:10 +0100 Subject: mime: new MIME API. Available in HTTP, SMTP and IMAP. Deprecates the FORM API. See CURLOPT_MIMEPOST. Lib code and associated documentation. --- tests/libtest/mk-lib1521.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/libtest/mk-lib1521.pl') diff --git a/tests/libtest/mk-lib1521.pl b/tests/libtest/mk-lib1521.pl index f5c68eb10..fe7e65d7a 100644 --- a/tests/libtest/mk-lib1521.pl +++ b/tests/libtest/mk-lib1521.pl @@ -146,6 +146,7 @@ int test(char *URL) char *stringpointerextra=(char *)"moooo"; struct curl_slist *slist=NULL; struct curl_httppost *httppost=NULL; + curl_mime *mimepost = NULL; FILE *stream = stderr; struct data object; char *charp; @@ -216,6 +217,9 @@ while() { elsif($name eq "HTTPPOST") { print "${pref} httppost);\n$check"; } + elsif($name eq "MIMEPOST") { + print "${pref} mimepost);\n$check"; + } elsif($name eq "STDERR") { print "${pref} stream);\n$check"; } -- cgit v1.2.3