implement response form (code 10)

This commit is contained in:
yggverse 2024-07-07 23:49:00 +03:00
parent 4b296f309c
commit 5fda126ea9
5 changed files with 243 additions and 2 deletions

View file

@ -185,6 +185,22 @@ class Content
// Process codes
switch ($response->getCode())
{
case 10: // response expected
$this->page->title->setValue(
$address->getHost(),
sprintf(
'response expected (code %d)',
intval(
$response->getCode()
)
)
);
$this->page->response->show();
break;
case 20: // ok
// Process content type