Skip to content
代码片段 群组 项目
用户头像
Olivier El Mekki 编辑于
When Mastodon fetches the profile URL for an actor, it sets the
ActivityPub `Accept` header,
[as specified by the standard](https://www.w3.org/TR/activitypub/#retrieving-objects).

But then, when it sends Follow activities, it switches to using
[Content-Type header](https://github.com/mastodon/mastodon/blob/main/app/workers/activitypub/delivery_worker.rb#L23).

Not sure why it does that, I thought `Content-Type` was for responses,
not for requests. Anyway, we need to cover that case.
8a030516
历史
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。