Serving ActivityPub objects
According to ActivityPub specification, servers should return ActivityStreams object representation in response to requests having application/ld+json; profile="https://www.w3.org/ns/activitystreams"
in Accept
header, but Funkwhale only does that for requests with application/activity+json
media type.
Servers ... MUST present the ActivityStreams object representation in response to application/ld+json; profile="https://www.w3.org/ns/activitystreams", and SHOULD also present the ActivityStreams representation in response to application/activity+json as well.
-- https://www.w3.org/TR/activitypub/#retrieving-objects
Example:
curl -L -H 'Accept: application/ld+json; profile="https://www.w3.org/ns/activitystreams"' https://tunes.artemai.art/federation/actors/acrossthefediverse
This command returns HTML page instead of the actor object.