mirror of
https://github.com/curl/curl.git
synced 2026-05-02 14:17:50 +03: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
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue