From 77faa28ff675543f1165b34e0b2ccc847fe4964c Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Wed, 11 Feb 2026 14:47:51 +0100 Subject: [PATCH] Revert "CI: Fix HTTP certificate error when requesting example.org from GHA" This reverts commit f4af7613be0719ce421fea023d5ea5f4fe746f67. --- docs/by-example/http.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/by-example/http.rst b/docs/by-example/http.rst index efc8714c..6a067eaa 100644 --- a/docs/by-example/http.rst +++ b/docs/by-example/http.rst @@ -216,11 +216,12 @@ please use the ``urllib3.Timeout`` object like: When connecting to non-CrateDB servers, the HttpClient will raise a ConnectionError like this: - >>> http_client = HttpClient(["https://httpbin.org/html"]) + >>> http_client = HttpClient(["https://example.org/"]) >>> http_client.server_infos(http_client._get_server()) Traceback (most recent call last): ... - crate.client.exceptions.ProgrammingError: 404 Client Error: NOT FOUND + crate.client.exceptions.ProgrammingError: Invalid server response of content-type 'text/html': + ... >>> http_client.close() When using the ``error_trace`` kwarg a full traceback of the server exception