-
-
Notifications
You must be signed in to change notification settings - Fork 323
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
Serving ActivityPub objects #564
Comments
This returns ActivityStreams objects when the Accept header is `application/ld+json; profile="https://www.w3.org/ns/activitystreams"`, per the ActivityPub spec. Fixes #564
Thanks for reporting this! Fixed now, and will go into v0.14. |
This returns ActivityStreams objects when the Accept header is `application/ld+json; profile="https://www.w3.org/ns/activitystreams"`, per the ActivityPub spec. Fixes writefreely#564
Thanks for pointing that out! Looks like those previous changes only encompassed the API endpoints, and not the canonical / public URLs for blogs and posts. That's all fixed in #779. |
Thank you for looking into this! |
Yes, it's live on Write.as now! |
Everything working as expected. Thanks a lot |
Great, thank you for verifying! |
Describe the bug
According to ActivityPub specification, servers should respond with ActivityStreams object representation to requests having
application/ld+json; profile="https://www.w3.org/ns/activitystreams"
in Accept header, but apparently onlyapplication/activity+json
is supportedwritefreely/posts.go
Line 1123 in b7f732b
Steps to reproduce (if necessary)
The server returns the standard API response:
Expected behavior
Server should return ActivityStreams object representation.
The text was updated successfully, but these errors were encountered: