1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

made -G set request type

This commit is contained in:
Daniel Stenberg 2002-03-19 14:58:35 +00:00
parent 30d5401f31
commit 51d602f973

View File

@ -1344,6 +1344,8 @@ 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 */