summaryrefslogtreecommitdiff
path: root/src/saml2/httpbase.py
diff options
context:
space:
mode:
authorRoland Hedberg <roland.hedberg@adm.umu.se>2013-02-17 20:50:45 +0100
committerRoland Hedberg <roland.hedberg@adm.umu.se>2013-02-17 20:50:45 +0100
commit0d45a31259944ecb81964ec704b287697c4fb80a (patch)
tree6c00c06dfebaae064ee3cb9de9b46317845769ef /src/saml2/httpbase.py
parent9bbbfc29625aab6638428ef712aad21e42f51685 (diff)
downloadpysaml2-0d45a31259944ecb81964ec704b287697c4fb80a.tar.gz
Request HTTP response contains content not error.
Bug in key calculation.
Diffstat (limited to 'src/saml2/httpbase.py')
-rw-r--r--src/saml2/httpbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/httpbase.py b/src/saml2/httpbase.py
index 9643e839..26aa5519 100644
--- a/src/saml2/httpbase.py
+++ b/src/saml2/httpbase.py
@@ -304,7 +304,7 @@ class HTTPBase(object):
logger.info("SOAP response: %s" % response.text)
return response
else:
- raise HTTPError("%d:%s" % (response.status_code, response.error))
+ raise HTTPError("%d:%s" % (response.status_code, response.content))
def add_credentials(self, user, passwd):
self.user = user