From 789da26362428de3a1f8c65ea69494e7c9ba1293 Mon Sep 17 00:00:00 2001 From: Ryan Barrett Date: Thu, 26 Jan 2023 10:37:01 -0800 Subject: [PATCH] AP: return 501 for Undo not supported, not 400 --- common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.py b/common.py index ff68fe5..0d35d8b 100644 --- a/common.py +++ b/common.py @@ -255,7 +255,7 @@ def send_webmentions(activity_wrapped, proxy=None, **activity_props): verb = activity.get('verb') if verb and verb not in SUPPORTED_VERBS: - error(f'{verb} activities are not supported yet.') + error(f'{verb} activities are not supported yet.', status=501) # extract source and targets source = activity.get('url') or activity.get('id')