summaryrefslogtreecommitdiff
path: root/src/tool_sdecls.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-08-25 09:20:56 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-08-25 09:20:56 +0200
commit4a889441d318f9133dc9f3eba1939e360a8f7d58 (patch)
tree70eb52fd977b67edad237e758c6a4818f0beec48 /src/tool_sdecls.h
parentce034356d2fc9ac94bca4959a4054169129bf5d8 (diff)
downloadcurl-4a889441d318f9133dc9f3eba1939e360a8f7d58.tar.gz
curl: point out the conflicting HTTP methods if used
It isn't always clear to the user which options that cause the HTTP methods to conflict so by spelling them out it should hopefully be easier to understand why curl complains.
Diffstat (limited to 'src/tool_sdecls.h')
-rw-r--r--src/tool_sdecls.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tool_sdecls.h b/src/tool_sdecls.h
index e74020f77..9455a2510 100644
--- a/src/tool_sdecls.h
+++ b/src/tool_sdecls.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2015, 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,10 +135,8 @@ typedef enum {
HTTPREQ_UNSPEC, /* first in list */
HTTPREQ_GET,
HTTPREQ_HEAD,
- HTTPREQ_POST,
+ HTTPREQ_FORMPOST,
HTTPREQ_SIMPLEPOST,
- HTTPREQ_CUSTOM,
- HTTPREQ_LAST /* last in list */
} HttpReq;