From 3a3a25d2a7caadd892b3bc6a75415322b2599720 Mon Sep 17 00:00:00 2001 From: Astro Date: Wed, 18 Jan 2023 23:21:59 +0100 Subject: [PATCH] endpoint: don't require conntent-length to be signed mastodon compat --- src/endpoint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endpoint.rs b/src/endpoint.rs index 917c9bd..c0cdd8a 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-length", + "digest", ]; #[derive(Clone, Debug)]