Test with capitals

main
Bob Mottram 2021-09-01 21:55:54 +01:00
parent b66ab9e74a
commit ddd8146f60
1 changed files with 4 additions and 4 deletions

View File

@ -201,10 +201,10 @@ def createSignedHeader(privateKeyPem: str, nickname: str,
if not withDigest:
contentType = 'application/activity+json, application/ld+json'
headers = {
'(request-target)': f'get {path}',
'host': headerDomain,
'date': dateStr,
'accept': contentType
'(request-target)': f'GET {path}',
'Host': headerDomain,
'Date': dateStr,
'Accept': contentType
}
signatureHeader = \
signPostHeaders(dateStr, privateKeyPem, nickname,