main
Bob Mottram 2019-11-12 19:23:57 +00:00
parent 08c7177db5
commit a093472bee
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ def createSignedHeader(privateKeyPem: str,nickname: str, \
#print('***************************Send date: '+dateStr) #print('***************************Send date: '+dateStr)
#print('***************************Send digest: '+bodyDigest) #print('***************************Send digest: '+bodyDigest)
#print('***************************Send Content-type: '+contentType) #print('***************************Send Content-type: '+contentType)
#print('***************************Send Content-Length: '+str(len(messageBodyJsonStr)))
#print('***************************Send messageBodyJsonStr: '+messageBodyJsonStr) #print('***************************Send messageBodyJsonStr: '+messageBodyJsonStr)
headers = {'(request-target)': f'post {path}','host': headerDomain,'date': dateStr,'digest': f'SHA-256={bodyDigest}','content-length': str(contentLength),'content-type': contentType} headers = {'(request-target)': f'post {path}','host': headerDomain,'date': dateStr,'digest': f'SHA-256={bodyDigest}','content-length': str(contentLength),'content-type': contentType}
signatureHeader = \ signatureHeader = \