diff --git a/src/activitypub/jsonld.rs b/src/activitypub/jsonld.rs index 664f37fa..9a67aa3f 100644 --- a/src/activitypub/jsonld.rs +++ b/src/activitypub/jsonld.rs @@ -28,7 +28,9 @@ impl LD for serde_json::Value { pub struct JsonLD(pub T); impl IntoResponse for JsonLD { fn into_response(self) -> Response { - // headers body - ([("Content-Type", "application/ld+json")], axum::Json(self.0)).into_response() + ( + [("Content-Type", "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"")], + axum::Json(self.0) + ).into_response() } }