diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-08-29 23:56:28 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-09-11 08:53:53 +0200 |
commit | 481e0de00a9003b9c5220b120e3fc302d9b0932d (patch) | |
tree | cff919570ca5e120c731a342652691522e230c67 /src/tool_helpers.h | |
parent | df6a4d3519655b26137a90a440c5a99f4abe7e22 (diff) | |
download | curl-481e0de00a9003b9c5220b120e3fc302d9b0932d.tar.gz |
curl: point out unnecessary uses of -X in verbose mode
It uses 'Note:' as a prefix as opposed to the common 'Warning:' to take
down the tone a bit.
It adds a warning for using -XHEAD on other methods becasue that may
lead to a hanging connection.
Diffstat (limited to 'src/tool_helpers.h')
-rw-r--r-- | src/tool_helpers.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tool_helpers.h b/src/tool_helpers.h index 73bcfc771..117334cbc 100644 --- a/src/tool_helpers.h +++ b/src/tool_helpers.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 @@ -28,5 +28,8 @@ const char *param2text(int res); int SetHTTPrequest(struct OperationConfig *config, HttpReq req, HttpReq *store); +void customrequest_helper(struct OperationConfig *config, HttpReq req, + char *method); + #endif /* HEADER_CURL_TOOL_HELPERS_H */ |