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():