1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
From: Markus Koetter <koetter@cispa.de>
Date: Tue, 1 Nov 2022 11:06:39 +0100
Subject: debugging - enable HTTPRedirectDebugProcessor for https
---
mechanize/_debug.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/mechanize/_debug.py b/mechanize/_debug.py
index 4bb1c7c..8e3b098 100644
--- a/mechanize/_debug.py
+++ b/mechanize/_debug.py
@@ -30,3 +30,6 @@ class HTTPRedirectDebugProcessor(BaseHandler):
info = logging.getLogger("mechanize.http_redirects").info
info("redirecting to %s", request.get_full_url())
return request
+
+ https_response = http_response
+
|