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
1 changed files with 1 additions and 1 deletions

View File

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