mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Reverted v1.120, -G set request type after Kevin Roth pointed out the
stupidity in doing this. -G should work with with -I too...
This commit is contained in:
parent
fd915609cd
commit
016abdfef6
@ -1344,8 +1344,6 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||||||
|
|
||||||
case 'G': /* HTTP GET */
|
case 'G': /* HTTP GET */
|
||||||
config->use_httpget = TRUE;
|
config->use_httpget = TRUE;
|
||||||
if(SetHTTPrequest(HTTPREQ_GET, &config->httpreq))
|
|
||||||
return PARAM_BAD_USE;
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'h': /* h for help */
|
case 'h': /* h for help */
|
||||||
|
Loading…
Reference in New Issue
Block a user