From 696cca4ce447445d863717d61300f1ffb3ab4d4c Mon Sep 17 00:00:00 2001 From: perillamint Date: Tue, 4 Jul 2023 02:43:45 +0900 Subject: [PATCH] Remove excessive content_type header configuration (#3470) --- crates/apub/src/http/mod.rs | 2 -- 1 file changed, 2 deletions(-) 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