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); GetStr(&config->proxy, nextarg);
break; break;
case 'X': case 'X':
/* HTTP request */ /* set custom request */
GetStr(&config->customrequest, nextarg); GetStr(&config->customrequest, nextarg);
if(SetHTTPrequest(HTTPREQ_CUSTOM, &config->httpreq))
return PARAM_BAD_USE;
break; break;
case 'y': case 'y':
/* low speed time */ /* low speed time */