fixed bug with http version
All checks were successful
CI / build (push) Successful in 15s

This commit is contained in:
2024-09-15 16:12:52 +08:00
parent 909ac4aea1
commit 8268ec444c

View File

@@ -336,15 +336,15 @@ def main() -> None:
action='store_true', action='store_true',
help="Enable verbose output") help="Enable verbose output")
parser.add_argument('-0', '--http1.0', parser.add_argument('-0', '--http1.0',
default=True, default=False,
action='store_true', action='store_true',
help="Force HTTP/1.1 protocol") help="Force HTTP/1.1 protocol")
parser.add_argument('-1', '--http1.1', parser.add_argument('-1', '--http1.1',
default=True, default=False,
action='store_true', action='store_true',
help="Force HTTP/1.1 protocol") help="Force HTTP/1.1 protocol")
parser.add_argument('-2', '--http2', parser.add_argument('-2', '--http2',
default=True, default=False,
action='store_true', action='store_true',
help="Enable HTTP/2 protocol") help="Enable HTTP/2 protocol")
parser.add_argument('-3', '--http3', parser.add_argument('-3', '--http3',