0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::client: Fix typo.

This commit is contained in:
Jason Volk 2018-12-31 20:18:02 -08:00
parent 03d78b3ce8
commit b091fc7acb

View file

@ -800,7 +800,7 @@ catch(const std::exception &e)
const ctx::exception_handler eh; const ctx::exception_handler eh;
resource::response 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; return false;
@ -847,7 +847,7 @@ catch(const http::error &e)
resource::response 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) switch(e.code)