From bc2732986140bbb4db10da57cde38b84ba2c06d3 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 12 Nov 2019 13:24:06 +0000 Subject: [PATCH] Capital L --- httpsig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpsig.py b/httpsig.py index 6bc2e2de..112d2808 100644 --- a/httpsig.py +++ b/httpsig.py @@ -196,7 +196,7 @@ def verifyPostHeaders(httpPrefix: str,publicKeyPem: str,headers: dict, \ f'{signedHeader}: {headers[signedHeader]}') else: signedHeaderCap=signedHeader.capitalize() - if signedHeaderCap=='Content-length': + if signedHeaderCap=='Content-Length': if int(headers[signedHeader])!=contentLength: return False if signedHeaderCap=='Date':