Extra header fields

main
Bob Mottram 2022-02-27 23:46:52 +00:00
parent 9b6d4c81d7
commit db3e94f1a4
1 changed files with 3 additions and 0 deletions

View File

@ -2471,8 +2471,11 @@ def send_post(signing_priv_key_pem: str, project_version: str,
domain_full = get_full_domain(domain, port)
if shared_item_federation_tokens.get(domain_full):
signature_header_json['Origin'] = domain_full
signature_header_json_ld['Origin'] = domain_full
signature_header_json['SharesCatalog'] = \
shared_item_federation_tokens[domain_full]
signature_header_json_ld['SharesCatalog'] = \
shared_item_federation_tokens[domain_full]
if debug:
print('SharesCatalog added to header')
elif debug: