mirror of https://gitlab.com/bashrc2/epicyon
Extra header fields
parent
9b6d4c81d7
commit
db3e94f1a4
3
posts.py
3
posts.py
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue