aboutsummaryrefslogtreecommitdiff
path: root/p/api/pshb.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-11-08 20:24:24 +0100
committerGravatar GitHub <noreply@github.com> 2023-11-08 20:24:24 +0100
commit44a7c54a5a6afb72937425cee0d53610e440ec60 (patch)
tree3814bd499c1d59af39620c07cabb2f805e4ca54a /p/api/pshb.php
parent348028a29043b7d1d0f80544c44f0454b2c375c3 (diff)
Update WebSub documentation a bit (#5829)
* Update WebSub documentation a bit * Marien prefers not to promote his hub too much :-)
Diffstat (limited to 'p/api/pshb.php')
-rw-r--r--p/api/pshb.php1
1 files changed, 1 insertions, 0 deletions
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!');