From 44a7c54a5a6afb72937425cee0d53610e440ec60 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 8 Nov 2023 20:24:24 +0100 Subject: Update WebSub documentation a bit (#5829) * Update WebSub documentation a bit * Marien prefers not to promote his hub too much :-) --- p/api/pshb.php | 1 + 1 file changed, 1 insertion(+) (limited to 'p/api/pshb.php') diff --git a/p/api/pshb.php b/p/api/pshb.php index 9c9323da5..f69329f1b 100644 --- a/p/api/pshb.php +++ b/p/api/pshb.php @@ -31,6 +31,7 @@ if ($canonical === false) { header('Connection: close'); exit(isset($_REQUEST['hub_challenge']) ? $_REQUEST['hub_challenge'] : ''); } + // https://github.com/w3c/websub/issues/106 , https://w3c.github.io/websub/#content-distribution header('HTTP/1.1 410 Gone'); Minz_Log::warning('Warning: Feed key not found!: ' . $key, PSHB_LOG); die('Feed key not found!'); -- cgit v1.2.3