Skip to content
Snippets Groups Projects
Commit 51d602f9 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

made -G set request type

parent 30d5401f
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment