diff options
author | Patrick Monnerat <patrick@monnerat.net> | 2017-09-02 17:47:10 +0100 |
---|---|---|
committer | Patrick Monnerat <patrick@monnerat.net> | 2017-09-02 17:47:10 +0100 |
commit | ce0881edee3c78609eae49665fb70264d8786d29 (patch) | |
tree | e4f5cda7865f3e73664dca5c4eb6a7a648c1e2d2 /tests | |
parent | 5bae72734b45a01c6337eb3b2c40020c4e904415 (diff) |
mime: new MIME API.
Available in HTTP, SMTP and IMAP.
Deprecates the FORM API.
See CURLOPT_MIMEPOST.
Lib code and associated documentation.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libtest/mk-lib1521.pl | 4 |
1 files changed, 4 insertions, 0 deletions
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(<STDIN>) { 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"; } |