summaryrefslogtreecommitdiff
path: root/Services
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-17 18:20:28 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-17 18:35:49 +0200
commit723f4e5ee65cb31b29428d2ea4d701fd906204c0 (patch)
treeabf21a26f22f6d9d317ebb4b47e07217c0e4f83f /Services
parentd7bf60937655fbe316a9aff8c1119339ffb23e79 (diff)
downloadserenity-723f4e5ee65cb31b29428d2ea4d701fd906204c0.zip
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. :^)
Diffstat (limited to 'Services')
-rw-r--r--Services/WebServer/Client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Services/WebServer/Client.cpp b/Services/WebServer/Client.cpp
index 14c4f927d1..c1ee2906cd 100644
--- a/Services/WebServer/Client.cpp
+++ b/Services/WebServer/Client.cpp
@@ -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;
}