diff options
author | Andrew Godwin | 2022-12-17 12:00:47 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-12-17 12:00:47 -0700 |
commit | 62f2b867b9dbdfde6be79b729515711c5c2cd877 (patch) | |
tree | 284fe76602d3afdee41d7840fda04aae12ac08c7 /core | |
parent | d7ffb47fb2d973fd2d6eea09c57fd3620d6b6af1 (diff) | |
download | takahe-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.py | 2 |
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: |