1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 22:25:08 +00:00

Meta: Scale back overly informal user-facing strings

We were getting a little overly memey in some places, so let's scale
things back to business-casual.

Informal language is fine in comments, commits and debug logs,
but let's keep the runtime nice and presentable. :^)
This commit is contained in:
Andreas Kling 2020-06-17 18:20:28 +02:00
parent d7bf609376
commit 723f4e5ee6
8 changed files with 15 additions and 33 deletions

View file

@ -78,7 +78,7 @@ void Client::handle_request(ByteBuffer raw_request)
}
if (request.method() != HTTP::HttpRequest::Method::GET) {
send_error_response(403, "Forbidden, bro!", request);
send_error_response(403, "Forbidden!", request);
return;
}
@ -115,7 +115,7 @@ void Client::handle_request(ByteBuffer raw_request)
auto file = Core::File::construct(real_path);
if (!file->open(Core::File::ReadOnly)) {
send_error_response(404, "Not found, bro!", request);
send_error_response(404, "Not found!", request);
return;
}