Change accept

main
Bob Mottram 2023-01-05 23:08:18 +00:00
parent d355a6f7fd
commit 42d4a2ebae
1 changed files with 1 additions and 1 deletions

View File

@ -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,