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

don't count a custom request as a request type of its own, it is merely

a modifier of another type
This commit is contained in:
Daniel Stenberg 2002-01-28 19:22:40 +00:00
parent 5d3dd7911e
commit 28049a183c

View File

@ -1450,10 +1450,8 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
GetStr(&config->proxy, nextarg);
break;
case 'X':
/* HTTP request */
/* set custom request */
GetStr(&config->customrequest, nextarg);
if(SetHTTPrequest(HTTPREQ_CUSTOM, &config->httpreq))
return PARAM_BAD_USE;
break;
case 'y':
/* low speed time */