From 8268ec444cca40ba73bd982b3aa8cc14ab9771b2 Mon Sep 17 00:00:00 2001 From: Walter Oggioni Date: Sun, 15 Sep 2024 16:12:52 +0800 Subject: [PATCH] fixed bug with http version --- src/jpacrepo_uploader/uploader.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jpacrepo_uploader/uploader.py b/src/jpacrepo_uploader/uploader.py index f52b3bc..bd993a1 100644 --- a/src/jpacrepo_uploader/uploader.py +++ b/src/jpacrepo_uploader/uploader.py @@ -336,15 +336,15 @@ def main() -> None: action='store_true', help="Enable verbose output") parser.add_argument('-0', '--http1.0', - default=True, + default=False, action='store_true', help="Force HTTP/1.1 protocol") parser.add_argument('-1', '--http1.1', - default=True, + default=False, action='store_true', help="Force HTTP/1.1 protocol") parser.add_argument('-2', '--http2', - default=True, + default=False, action='store_true', help="Enable HTTP/2 protocol") parser.add_argument('-3', '--http3',