From b30dfb85d45a5d4fd66e05f21bc0f02fb0b1667f Mon Sep 17 00:00:00 2001 From: Astro Date: Wed, 18 Jan 2023 23:01:25 +0100 Subject: [PATCH] endpoint: don't require content-type but conntent-length to be signed pleroma compat --- src/endpoint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endpoint.rs b/src/endpoint.rs index ee844bc..917c9bd 100644 --- a/src/endpoint.rs +++ b/src/endpoint.rs @@ -18,7 +18,7 @@ use crate::activitypub::Actor; const SIGNATURE_HEADERS_REQUIRED: &[&str] = &[ "(request-target)", "host", "date", - "digest", "content-type", + "digest", "content-length", ]; #[derive(Clone, Debug)]