Field not needed

merge-requests/30/head
Bob Mottram 2021-09-01 21:24:01 +01:00
parent fed6d0c144
commit b66ab9e74a
1 changed files with 2 additions and 0 deletions

View File

@ -194,6 +194,8 @@ def _getJsonSigned(session, url: str, domainFull: str, sessionHeaders: {},
messageStr)
print('Signed GET signatureHeaderJson ' + str(signatureHeaderJson))
for key, value in signatureHeaderJson.items():
if key.startswith('(') or key.startswith('*('):
continue
if key == 'Accept' or key == 'User-Agent' or \
key.lower() == 'content-length':
continue