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

ActivityPub objects not returned when requested with Accept: application/ld+json; profile="https://www.w3.org/ns/activitystreams" #121

Open
grishka opened this issue Feb 18, 2025 · 1 comment

Comments

@grishka
Copy link

grishka commented Feb 18, 2025

curl "https://aaronparecki.com/2025/02/15/14/sms" \
     -H 'Accept: application/ld+json; profile="https://www.w3.org/ns/activitystreams"'

Returns some other kind of JSON which is not an ActivityPub representation of the post. This prevents Smithereen from loading your posts. Accept: application/activity+json does work as expected.

@aaronpk
Copy link
Owner

aaronpk commented Feb 18, 2025

oops, looks like my content negotiation matching is a bit off, thanks

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

No branches or pull requests

2 participants