header format

merge-requests/3/head
Bob Mottram 2019-11-12 17:02:34 +00:00
parent 9d7bff34ec
commit a3e7b0ed53
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ def verifyPostHeaders(httpPrefix: str,publicKeyPem: str,headers: dict, \
if debug:
print('DEBUG: verifyPostHeaders content-length does not match '+headers[signedHeader]+' != '+str(contentLength))
return False
signedHeaderList.append(f'content-length: '+headers[signedHeader])
signedHeaderList.append(f'content-length: {headers[signedHeader]}')
else:
if headers.get(signedHeader):
if signedHeader=='date':