implement status code 11 route

This commit is contained in:
yggverse 2024-07-08 01:18:10 +03:00
parent 176f14e36e
commit dca454cf50
2 changed files with 17 additions and 3 deletions

View file

@ -190,6 +190,7 @@ class Content
switch ($response->getCode())
{
case 10: // response expected
case 11: // sensitive input
$this->page->title->setValue(
$address->getHost(),
@ -202,7 +203,8 @@ class Content
);
$this->page->response->show(
$response->getMeta() // pass to placeholder
$response->getMeta(), // placeholder
boolval(10 === $response->getCode()) // input visibility
);
break;