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:
parent
5d3dd7911e
commit
28049a183c
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user