forked from indymedia/epicyon
Capital L
parent
9120444d09
commit
bc27329861
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue