|
|
@ -48,7 +48,6 @@ where
|
|
|
|
Ok(
|
|
|
|
Ok(
|
|
|
|
HttpResponse::Ok()
|
|
|
|
HttpResponse::Ok()
|
|
|
|
.content_type(FEDERATION_CONTENT_TYPE)
|
|
|
|
.content_type(FEDERATION_CONTENT_TYPE)
|
|
|
|
.content_type("application/activity+json")
|
|
|
|
|
|
|
|
.body(json),
|
|
|
|
.body(json),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -61,7 +60,6 @@ fn create_apub_tombstone_response<T: Into<Url>>(id: T) -> LemmyResult<HttpRespon
|
|
|
|
HttpResponse::Gone()
|
|
|
|
HttpResponse::Gone()
|
|
|
|
.content_type(FEDERATION_CONTENT_TYPE)
|
|
|
|
.content_type(FEDERATION_CONTENT_TYPE)
|
|
|
|
.status(StatusCode::GONE)
|
|
|
|
.status(StatusCode::GONE)
|
|
|
|
.content_type("application/activity+json")
|
|
|
|
|
|
|
|
.body(json),
|
|
|
|
.body(json),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|