Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix federating with GoToSocial #682

Merged
merged 1 commit into from
Dec 26, 2023
Merged

Conversation

alphatownsman
Copy link
Contributor

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 andrewgodwin merged commit 4a09379 into jointakahe:main Dec 26, 2023
3 checks passed
@andrewgodwin
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants