Also log headers

merge-requests/21/head
Bob Mottram 2021-03-14 12:18:05 +00:00
parent 9ddda0b9e0
commit 8bf9607cda
1 changed files with 2 additions and 1 deletions

View File

@ -368,7 +368,8 @@ def verifyPostHeaders(httpPrefix: str, publicKeyPem: str, headers: dict,
signedHeaderCap = signedHeader.capitalize()
if debug:
print('signedHeaderCap: ' + signedHeaderCap)
print('signedHeaderCap: ' +
signedHeaderCap + ' ' + str(headers))
# if this is the date header then check it is recent
if signedHeaderCap == 'Date':