mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
add text/plain content support
This commit is contained in:
parent
a73bb3aea6
commit
30e3ae691a
8 changed files with 66 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue