From: Daniel Stenberg Date: Thu, 4 Apr 2002 22:29:18 +0000 (+0000) Subject: Reverted v1.120, -G set request type after Kevin Roth pointed out the X-Git-Tag: curl-7_9_6~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=016abdfef6f985bd45e65b0d673bd44182b6dd0a;p=curl Reverted v1.120, -G set request type after Kevin Roth pointed out the stupidity in doing this. -G should work with with -I too... --- diff --git a/src/main.c b/src/main.c index a7c516be8..2c205ffdd 100644 --- a/src/main.c +++ b/src/main.c @@ -1344,8 +1344,6 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */ case 'G': /* HTTP GET */ config->use_httpget = TRUE; - if(SetHTTPrequest(HTTPREQ_GET, &config->httpreq)) - return PARAM_BAD_USE; break; case 'h': /* h for help */