mirror of https://gitlab.com/bashrc2/epicyon
Change accept
parent
d355a6f7fd
commit
42d4a2ebae
|
@ -1077,7 +1077,7 @@ def html_hashtag_search_remote(nickname: str, domain: str, port: int,
|
||||||
|
|
||||||
profile_str = 'https://www.w3.org/ns/activitystreams'
|
profile_str = 'https://www.w3.org/ns/activitystreams'
|
||||||
as_header = {
|
as_header = {
|
||||||
'Accept': 'application/ld+json; profile="' + profile_str + '"'
|
'Accept': 'application/activity+json; profile="' + profile_str + '"'
|
||||||
}
|
}
|
||||||
hashtag_json = \
|
hashtag_json = \
|
||||||
get_json(signing_priv_key_pem,
|
get_json(signing_priv_key_pem,
|
||||||
|
|
Loading…
Reference in New Issue