mirror of https://gitlab.com/bashrc2/epicyon
strip
parent
9176e3d146
commit
6dc3e51550
1
tests.py
1
tests.py
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue