Commit 28049a18 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

a modifier of another type
parent 5d3dd791
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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 */