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 /lib/http2.c | |
parent | 5bae72734b45a01c6337eb3b2c40020c4e904415 (diff) | |
download | curl-ce0881edee3c78609eae49665fb70264d8786d29.tar.gz |
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 'lib/http2.c')
-rw-r--r-- | lib/http2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/http2.c b/lib/http2.c index 8beaabf17..d466ccaa0 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -1955,6 +1955,7 @@ static ssize_t http2_send(struct connectdata *conn, int sockindex, switch(conn->data->set.httpreq) { case HTTPREQ_POST: case HTTPREQ_POST_FORM: + case HTTPREQ_POST_MIME: case HTTPREQ_PUT: if(conn->data->state.infilesize != -1) stream->upload_left = conn->data->state.infilesize; |