jointakahe / takahe

An ActivityPub/Fediverse server
BSD 3-Clause "New" or "Revised" License
1.1k stars 83 forks source link

Fix federating with GoToSocial #682

Closed alphatownsman closed 6 months ago

alphatownsman commented 6 months ago

Federation with GTS has been broken bc it does not accept application/json and returns HTTP 406

Error #01: Content-Type application/json not acceptable, this endpoint accepts: [\"application/activity+json\" \"application/ld+json;profile=https://w3.org/ns/activitystreams\"]

https://github.com/superseriousbusiness/gotosocial/blob/v0.13.0/internal/federation/federatingactor.go#L44

Spot checked a few, so far the change seems not breaking federating with other software.

andrewgodwin commented 6 months ago

Thanks - I swear we already made this change somewhere else but maybe it was the same type of change but in our returned content-types rather than requests.