Skip to content

Commit 6b13b16

Browse files
author
Roland Hedberg
committed
Merge pull request #126 from tpazderka/encoding_error_soap
Fixed encoding error in _use_soap
2 parents 8441294 + 87f2afb commit 6b13b16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/saml2/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,9 @@ def _use_soap(self, destination, query_type, **kwargs):
275275

276276
logger.info("Verifying response")
277277
if response_args:
278-
response = _response_func(response.text, **response_args)
278+
response = _response_func(response.content, **response_args)
279279
else:
280-
response = _response_func(response.text)
280+
response = _response_func(response.content)
281281
else:
282282
raise HTTPError("%d:%s" % (response.status_code, response.error))
283283

0 commit comments

Comments
 (0)