From 62f2b867b9dbdfde6be79b729515711c5c2cd877 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sat, 17 Dec 2022 12:00:47 -0700 Subject: Fix serving of system actor Fixes #183 --- core/signatures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/signatures.py') diff --git a/core/signatures.py b/core/signatures.py index ef354c3..9a544a4 100644 --- a/core/signatures.py +++ b/core/signatures.py @@ -84,7 +84,7 @@ class HttpSignature: headers = {} for header_name in header_names: if header_name == "(request-target)": - value = f"post {request.path}" + value = f"{request.method.lower()} {request.path}" elif header_name == "content-type": value = request.META["CONTENT_TYPE"] else: -- cgit v1.2.3