From: perillamint Date: Mon, 3 Jul 2023 17:43:45 +0000 (+0900) Subject: Remove excessive content_type header configuration (#3470) X-Git-Url: http://these/git/%22https:/lemmy.ml/u/Liwott/test?a=commitdiff_plain;h=696cca4ce447445d863717d61300f1ffb3ab4d4c;p=lemmy.git Remove excessive content_type header configuration (#3470) --- diff --git a/crates/apub/src/http/mod.rs b/crates/apub/src/http/mod.rs index 947a56ad..66d5a0f9 100644 --- a/crates/apub/src/http/mod.rs +++ b/crates/apub/src/http/mod.rs @@ -48,7 +48,6 @@ where Ok( HttpResponse::Ok() .content_type(FEDERATION_CONTENT_TYPE) - .content_type("application/activity+json") .body(json), ) } @@ -61,7 +60,6 @@ fn create_apub_tombstone_response>(id: T) -> LemmyResult