summaryrefslogtreecommitdiff
path: root/tools/certtools.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/certtools.py')
-rw-r--r--tools/certtools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/certtools.py b/tools/certtools.py
index 7a5f9fc..5aa2251 100644
--- a/tools/certtools.py
+++ b/tools/certtools.py
@@ -329,7 +329,7 @@ def http_request_session(url, data=None, key=None, verifynode=None, params=None,
result.raise_for_status()
authheader = result.headers.get('X-Catlfish-Auth')
data = result.text
- check_auth_header(authheader, verifynode, data, url_to_sign)
+ check_auth_header(authheader, verifynode, result.content, url_to_sign)
return data
def get_signature(baseurl, data, key=None):