1
0
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:
Daniel Stenberg 2002-04-04 22:29:18 +00:00
parent fd915609cd
commit 016abdfef6

View File

@ -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 */