mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
parent
e9de8e78f0
commit
02370fff3a
@ -176,7 +176,7 @@ static const struct LongShort aliases[]= {
|
||||
{"$J", "metalink", FALSE},
|
||||
{"$K", "sasl-ir", FALSE},
|
||||
{"$L", "test-event", FALSE},
|
||||
{"00", "http1.0", FALSE},
|
||||
{"0", "http1.0", FALSE},
|
||||
{"01", "http1.1", FALSE},
|
||||
{"02", "http2.0", FALSE},
|
||||
{"1", "tlsv1", FALSE},
|
||||
@ -989,7 +989,7 @@ ParameterError getparameter(char *flag, /* f or -long-flag */
|
||||
break;
|
||||
case '0': /* --http* options */
|
||||
switch(subletter) {
|
||||
case '0':
|
||||
case '\0':
|
||||
/* HTTP version 1.0 */
|
||||
config->httpversion = CURL_HTTP_VERSION_1_0;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user