endpoint: don't require conntent-length to be signed

mastodon compat
This commit is contained in:
Astro 2023-01-18 23:21:59 +01:00
parent 3b93b7c904
commit 3a3a25d2a7

View file

@ -18,7 +18,7 @@ use crate::activitypub::Actor;
const SIGNATURE_HEADERS_REQUIRED: &[&str] = &[ const SIGNATURE_HEADERS_REQUIRED: &[&str] = &[
"(request-target)", "(request-target)",
"host", "date", "host", "date",
"digest", "content-length", "digest",
]; ];
#[derive(Clone, Debug)] #[derive(Clone, Debug)]