From 21951d078ebbf5c109ae12a4cdb5e7df1a0977da Mon Sep 17 00:00:00 2001 From: Roland Hedberg Date: Tue, 27 Aug 2013 11:20:08 +0200 Subject: [PATCH] More log info --- src/saml2/httpbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/saml2/httpbase.py b/src/saml2/httpbase.py index 38d792f..53ba1fc 100644 --- a/src/saml2/httpbase.py +++ b/src/saml2/httpbase.py @@ -203,7 +203,6 @@ class HTTPBase(object): _cd = self.cookies(url) if _cd: _kwargs["cookies"] = _cd - logger.debug("Sent cookies: %s" % _kwargs["cookies"]) if self.user and self.passwd: _kwargs["auth"] = (self.user, self.passwd) @@ -216,6 +215,7 @@ class HTTPBase(object): except KeyError: pass r = requests.request(method, url, **_kwargs) + logger.debug("Response status: %s" % r.status_code) except requests.ConnectionError, exc: raise ConnectionError("%s" % exc)