main
Bob Mottram 2021-04-04 21:52:56 +01:00
parent 9176e3d146
commit 6dc3e51550
1 changed files with 1 additions and 0 deletions

View File

@ -271,6 +271,7 @@ def testHttpSigNew():
'alg=hs2019; created=' + str(secondsSinceEpoch) + '; ' + \
'sig1=(*request-target, *created, host, date, ' + \
'digest, content-type, content-length)'
signatureIndexHeader = signatureIndexHeader.strip()
if signatureIndexHeader != expectedIndexHeader:
print('Unexpected new http header: ' + signatureIndexHeader)
print('Should be: ' + expectedIndexHeader)