diff options
author | Patrick Monnerat <patrick@monnerat.net> | 2017-09-02 18:17:33 +0100 |
---|---|---|
committer | Patrick Monnerat <patrick@monnerat.net> | 2017-09-02 18:17:33 +0100 |
commit | fec7a858b88c86e97e5dc96414a01feb21a2b661 (patch) | |
tree | f9b668896ab1e75aaae8e91d6428efb4a11cbd22 /src/tool_sdecls.h | |
parent | ce0881edee3c78609eae49665fb70264d8786d29 (diff) | |
download | curl-fec7a858b88c86e97e5dc96414a01feb21a2b661.tar.gz |
mime: use in curl cli tool instead of form API.
Extended -F option syntax to support multipart mail messages.
-F keyword headers= added to include custom headers in parts.
Documentation upgraded.
Diffstat (limited to 'src/tool_sdecls.h')
-rw-r--r-- | src/tool_sdecls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_sdecls.h b/src/tool_sdecls.h index a56390e59..48dd4aed9 100644 --- a/src/tool_sdecls.h +++ b/src/tool_sdecls.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -135,7 +135,7 @@ typedef enum { HTTPREQ_UNSPEC, /* first in list */ HTTPREQ_GET, HTTPREQ_HEAD, - HTTPREQ_FORMPOST, + HTTPREQ_MIMEPOST, HTTPREQ_SIMPLEPOST } HttpReq; |