mirror of
https://github.com/curl/curl.git
synced 2026-05-13 23:56:20 +03:00
curl: expanded the -XHEAD warning text
... to also mention the specific options used.
This commit is contained in:
parent
c341311a0e
commit
bb9ec5ebb2
1 changed files with 2 additions and 2 deletions
|
|
@ -110,7 +110,7 @@ void customrequest_helper(struct OperationConfig *config, HttpReq req,
|
|||
}
|
||||
else if(curl_strequal(method, "head")) {
|
||||
warnf(config->global,
|
||||
"Setting custom HTTP method to HEAD may not work the way you "
|
||||
"want.\n");
|
||||
"Setting custom HTTP method to HEAD with -X/--request may not work "
|
||||
"the way you want. Consider using -I/--head instead.\n");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue