From 898de18a116d4616624d087369e3c26ffe441678 Mon Sep 17 00:00:00 2001 From: Andrey Vasnetsov Date: Mon, 21 Aug 2023 11:31:48 +0200 Subject: [PATCH] disable forcing of http2 for cloud connections (#258) --- qdrant_client/qdrant_remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qdrant_client/qdrant_remote.py b/qdrant_client/qdrant_remote.py index 5ed508e8..5061d0cd 100644 --- a/qdrant_client/qdrant_remote.py +++ b/qdrant_client/qdrant_remote.py @@ -115,7 +115,7 @@ def __init__( if self._scheme == "http": warnings.warn("Api key is used with unsecure connection.") - http2 = True + # http2 = True self._rest_headers["api-key"] = api_key self._grpc_headers.append(("api-key", api_key))