aboutsummaryrefslogtreecommitdiff
path: root/modules/fediverse
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-15 14:31:36 +0100
committerGravatar jesopo2019-09-15 14:31:36 +0100
commit4f1f65919d845327c238d5b9cb2843223fd8f49b (patch)
tree1ca756dc8945e7f37a779d09bbe0a43e55265f15 /modules/fediverse
parentactually pass signature and related headers to activity_request() (diff)
signature
dict()ify inbox headers
Diffstat (limited to 'modules/fediverse')
-rw-r--r--modules/fediverse/ap_actor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fediverse/ap_actor.py b/modules/fediverse/ap_actor.py
index ca15f12d..07676f06 100644
--- a/modules/fediverse/ap_actor.py
+++ b/modules/fediverse/ap_actor.py
@@ -53,5 +53,5 @@ class Inbox(object):
headers.append(["signature", signature])
return ap_utils.activity_request(self._url, activity.format(sender),
- method="POST", headers=headers)
+ method="POST", headers=dict(headers))