mirror of
https://github.com/astro/buzzrelay.git
synced 2025-02-16 12:45:13 +00:00
endpoint: don't require content-type but conntent-length to be signed
pleroma compat
This commit is contained in:
parent
0ecba2a273
commit
b30dfb85d4
1 changed files with 1 additions and 1 deletions
|
@ -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-type",
|
"digest", "content-length",
|
||||||
];
|
];
|
||||||
|
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
|
|
Loading…
Reference in a new issue