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/%7B%60/feeds/inbox/static/%24%7B%60data:application/manifest%20json;base64%2C%24%7Bawait?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