diff options
author | Roland Hedberg <roland.hedberg@adm.umu.se> | 2013-02-17 20:50:45 +0100 |
---|---|---|
committer | Roland Hedberg <roland.hedberg@adm.umu.se> | 2013-02-17 20:50:45 +0100 |
commit | 0d45a31259944ecb81964ec704b287697c4fb80a (patch) | |
tree | 6c00c06dfebaae064ee3cb9de9b46317845769ef /src/saml2/httpbase.py | |
parent | 9bbbfc29625aab6638428ef712aad21e42f51685 (diff) | |
download | pysaml2-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.py | 2 |
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 |