X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2FHTTPException%2FPreconditionFailedException.php;h=1a8f3f71f442fbfb81da713407115e69bc6e2aee;hb=46cd39fb34613f4b331793f19c0e562f93125066;hp=325c88aa4706b402b98dc2bbde07c7b3e1e082b0;hpb=f1e7d97b8cae93e1c77f5a5085880409b01fcdbe;p=friendica.git diff --git a/src/Network/HTTPException/PreconditionFailedException.php b/src/Network/HTTPException/PreconditionFailedException.php index 325c88aa47..1a8f3f71f4 100644 --- a/src/Network/HTTPException/PreconditionFailedException.php +++ b/src/Network/HTTPException/PreconditionFailedException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; @@ -6,5 +25,7 @@ use Friendica\Network\HTTPException; class PreconditionFailedException extends HTTPException { - protected $code = 412; + protected $code = 412; + protected $httpdesc = 'Precondition Failed'; + protected $explanation = 'The server does not meet one of the preconditions that the requester put on the request header fields.'; }