X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2FHTTPException%2FExpectationFailedException.php;h=df3ff97d6d765affb216dc725cd6c2e455fd387b;hb=46cd39fb34613f4b331793f19c0e562f93125066;hp=fe932a9f0a4861fe467c34c3456227c17df44f28;hpb=15a857e4117a5e1e6e092709b3c07614934b09fb;p=friendica.git diff --git a/src/Network/HTTPException/ExpectationFailedException.php b/src/Network/HTTPException/ExpectationFailedException.php index fe932a9f0a..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 { - var $httpcode = 417; + protected $code = 417; + protected $httpdesc = 'Expectation Failed'; + protected $explanation = 'The server cannot meet the requirements of the Expect request-header field.'; }