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

pleroma compat
This commit is contained in:
Astro 2023-01-18 23:01:25 +01:00
parent 0ecba2a273
commit b30dfb85d4

View file

@ -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)]