summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-17 12:00:47 -0700
committerAndrew Godwin2022-12-17 12:00:47 -0700
commit62f2b867b9dbdfde6be79b729515711c5c2cd877 (patch)
tree284fe76602d3afdee41d7840fda04aae12ac08c7 /core
parentd7ffb47fb2d973fd2d6eea09c57fd3620d6b6af1 (diff)
downloadtakahe-62f2b867b9dbdfde6be79b729515711c5c2cd877.tar.gz
takahe-62f2b867b9dbdfde6be79b729515711c5c2cd877.tar.bz2
takahe-62f2b867b9dbdfde6be79b729515711c5c2cd877.zip
Fix serving of system actor
Fixes #183
Diffstat (limited to 'core')
-rw-r--r--core/signatures.py2
1 files changed, 1 insertions, 1 deletions
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: