From c77944cf771e4361f7c650982b3d9adb9a5509c3 Mon Sep 17 00:00:00 2001 From: sjkillen Date: Wed, 5 Aug 2026 09:55:06 -0600 Subject: [PATCH] Add HEAD method to webmention.py --- services/webmention.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/webmention.py b/services/webmention.py index 55139bb..7c1eb97 100644 --- a/services/webmention.py +++ b/services/webmention.py @@ -52,7 +52,7 @@ def handler(): print("Content-Type: text/plain; charset=utf-8\r\n\r") print("Thanks for mentioning us!") print(source) - elif method == "GET": + elif method in ("GET", "HEAD"): print("Status: 200 OK\r") print("Content-Type: text/plain; charset=utf-8\r\n\r") for mention in Mention.load_past_mentions():