@grishka no, I didnt have time to figure that out because it seemed low priority. Why dont you simply send one of the headers we support?
Top-level
13 comments
I see that FEDERATION.md is not updated yet.. are you planning to? It's far from a perfect mechanism, but can still be a timesaver when ppl are figuring things out. For #lemmy it'd also be nice to have this. A couple of examples are shown in the #ActivityPub implementers guide on #socialhub See: https://socialhub.activitypub.rocks/t/guide-for-new-activitypub-implementers/479#federation-md (You can edit yourself, as this is a wiki post). cc @activitypub @humanetech @felix yeah I will update it at some point. With both this and the wall stuff, I changed it since to follow that FEP of mine. @grishka the truth is that we dont really know how the context works, or what it should look like. but its easy to fix because its just a hardcoded string. would you like to make an issue or a PR? https://yerbamate.ml/LemmyNet/lemmy/src/branch/main/crates/apub/src/extensions/context.rs |
@felix well, I send the one suggested by the spec:
Accept: application/ld+json; profile="https://www.w3.org/ns/activitystreams"
The spec also says that you're supposed to support application/activity+json. Mastodon actually sends both, comma-separated.