mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
ircd::client: Fix typo.
This commit is contained in:
parent
03d78b3ce8
commit
b091fc7acb
1 changed files with 2 additions and 2 deletions
|
@ -800,7 +800,7 @@ catch(const std::exception &e)
|
|||
const ctx::exception_handler eh;
|
||||
resource::response
|
||||
{
|
||||
*this, e.what(), "text/html; charset=utf8", http::INTERNAL_SERVER_ERROR
|
||||
*this, e.what(), "text/html; charset=utf-8", http::INTERNAL_SERVER_ERROR
|
||||
};
|
||||
|
||||
return false;
|
||||
|
@ -847,7 +847,7 @@ catch(const http::error &e)
|
|||
|
||||
resource::response
|
||||
{
|
||||
*this, e.content, "text/html; charset=utf8", e.code, e.headers
|
||||
*this, e.content, "text/html; charset=utf-8", e.code, e.headers
|
||||
};
|
||||
|
||||
switch(e.code)
|
||||
|
|
Loading…
Reference in a new issue