Allow 201 as well, because spec says so
This commit is contained in:
parent
274e394d8e
commit
97243c8a91
|
@ -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)");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user