X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2FHTTPException%2FExpectationFailedException.php;h=df3ff97d6d765affb216dc725cd6c2e455fd387b;hb=46cd39fb34613f4b331793f19c0e562f93125066;hp=7c928f34fa282f2c7c27f17cbe1a571dc0cbc984;hpb=f1e7d97b8cae93e1c77f5a5085880409b01fcdbe;p=friendica.git diff --git a/src/Network/HTTPException/ExpectationFailedException.php b/src/Network/HTTPException/ExpectationFailedException.php index 7c928f34fa..df3ff97d6d 100644 --- a/src/Network/HTTPException/ExpectationFailedException.php +++ b/src/Network/HTTPException/ExpectationFailedException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; @@ -6,5 +25,7 @@ use Friendica\Network\HTTPException; class ExpectationFailedException extends HTTPException { - protected $code = 417; + protected $code = 417; + protected $httpdesc = 'Expectation Failed'; + protected $explanation = 'The server cannot meet the requirements of the Expect request-header field.'; }