From a3e7b0ed53dd16c76cb568931a7fb14f69cd1429 Mon Sep 17 00:00:00 2001 From: Bob Mottram <bob@freedombone.net> Date: Tue, 12 Nov 2019 17:02:34 +0000 Subject: [PATCH] header format --- httpsig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpsig.py b/httpsig.py index 870cf2a3..7495ab1b 100644 --- a/httpsig.py +++ b/httpsig.py @@ -195,7 +195,7 @@ def verifyPostHeaders(httpPrefix: str,publicKeyPem: str,headers: dict, \ if debug: print('DEBUG: verifyPostHeaders content-length does not match '+headers[signedHeader]+' != '+str(contentLength)) return False - signedHeaderList.append(f'content-length: '+headers[signedHeader]) + signedHeaderList.append(f'content-length: {headers[signedHeader]}') else: if headers.get(signedHeader): if signedHeader=='date':