mirror of
https://github.com/moparisthebest/curl
synced 2024-11-10 19:45:04 -05:00
curl: expanded the -XHEAD warning text
... to also mention the specific options used.
This commit is contained in:
parent
c341311a0e
commit
bb9ec5ebb2
@ -110,7 +110,7 @@ void customrequest_helper(struct OperationConfig *config, HttpReq req,
|
|||||||
}
|
}
|
||||||
else if(curl_strequal(method, "head")) {
|
else if(curl_strequal(method, "head")) {
|
||||||
warnf(config->global,
|
warnf(config->global,
|
||||||
"Setting custom HTTP method to HEAD may not work the way you "
|
"Setting custom HTTP method to HEAD with -X/--request may not work "
|
||||||
"want.\n");
|
"the way you want. Consider using -I/--head instead.\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user