From 4d652e0fef2bda4b97d3cbb7e040cdc076e145a7 Mon Sep 17 00:00:00 2001 From: Solderpunk Date: Sun, 30 Aug 2020 18:16:31 +0200 Subject: [PATCH] Remove more transient client certificate stuff. --- av98.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/av98.py b/av98.py index 7f32e3a..7671ee8 100755 --- a/av98.py +++ b/av98.py @@ -504,16 +504,6 @@ Slow internet connection? Use 'set timeout' to be more patient.""") # If we're here, this must be a success and there's a response body assert status.startswith("2") - # Can we terminate a transient client session? - if status == "21": - # Make sure we're actually in such a session - if self.active_is_transient: - self._deactivate_client_cert() - print("INFO: Server terminated transient client certificate session.") - else: - # Huh, that's weird - self._debug("Server issues a 21 but we're not in transient session?") - mime = meta if mime == "": mime = "text/gemini; charset=utf-8"