Allow 201 as well, because spec says so

This commit is contained in:
Stephen Paul Weber 2016-06-10 21:13:10 +00:00
parent 274e394d8e
commit 97243c8a91

View File

@ -209,7 +209,7 @@ class LinkbackPlugin extends Plugin
$payload $payload
); );
if(!in_array($response->getStatus(), array(200,202))) { if(!in_array($response->getStatus(), array(200,201,202))) {
common_log(LOG_WARNING, common_log(LOG_WARNING,
"Webmention request failed for '$url' ($endpoint)"); "Webmention request failed for '$url' ($endpoint)");
} }