add text/plain content support

This commit is contained in:
yggverse 2024-08-18 15:32:31 +03:00
parent a73bb3aea6
commit 30e3ae691a
8 changed files with 66 additions and 2 deletions

View file

@ -120,13 +120,17 @@ void Page::update()
else
{
// @TODO exception
content->text_plain(
_("MIME type not supported")
);
}
}
else
{
// @TODO exception
content->text_plain(
_("Could not open page")
);
}
socket_connection->close();