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':