mirror of https://gitlab.com/bashrc2/epicyon
Try sending json with activity and ld accept
parent
07420aa37e
commit
05e4cfdd2e
|
@ -252,7 +252,7 @@ def create_signed_header(dateStr: str, private_key_pem: str, nickname: str,
|
||||||
|
|
||||||
# Content-Type or Accept header
|
# Content-Type or Accept header
|
||||||
if not content_type:
|
if not content_type:
|
||||||
content_type = 'application/activity+json'
|
content_type = 'application/activity+json, application/ld+json'
|
||||||
|
|
||||||
if not withDigest:
|
if not withDigest:
|
||||||
headers = {
|
headers = {
|
||||||
|
|
Loading…
Reference in New Issue