mirror of https://gitlab.com/bashrc2/epicyon
More efficient
parent
c753388077
commit
df0179768f
|
@ -387,7 +387,8 @@ def verifyPostHeaders(httpPrefix: str, publicKeyPem: str, headers: dict,
|
|||
if headers.get(signedHeaderCap):
|
||||
signedHeaderList.append(
|
||||
f'{signedHeader}: {headers[signedHeaderCap]}')
|
||||
else:
|
||||
elif '-' in signedHeader:
|
||||
# my-header becomes My-header
|
||||
signedHeaderCap = signedHeader.capitalize()
|
||||
if headers.get(signedHeaderCap):
|
||||
signedHeaderList.append(
|
||||
|
|
Loading…
Reference in New Issue