mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-03 03:02:13 +00:00
Capital L
This commit is contained in:
1 parent
9120444d09
commit
bc27329861
1 file changed
+1
-1
+1
-1
@@ -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':
|
||||
|
||||
Reference in new issue
Block a user