Reverted v1.120, -G set request type after Kevin Roth pointed out the
authorDaniel Stenberg <daniel@haxx.se>
Thu, 4 Apr 2002 22:29:18 +0000 (22:29 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 4 Apr 2002 22:29:18 +0000 (22:29 +0000)
stupidity in doing this. -G should work with with -I too...

src/main.c

index a7c516be8948080d434280fdb796f7b5779bfd3b..2c205ffdd75fa14e2a816d6cebed36a77e5a68f4 100644 (file)
@@ -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 */