summaryrefslogtreecommitdiffhomepage
path: root/plugins/websocket
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-11 15:27:23 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-11 15:27:23 +0100
commite679b0241662ea7c1910b9fc02ed0cb8f59b0de6 (patch)
tree3ee941465c80f9331de48cb3230515fb27460305 /plugins/websocket
parent478e9f340fe303f3171f4184f494947bf39e3dbf (diff)
Test CGI
Diffstat (limited to 'plugins/websocket')
-rw-r--r--plugins/websocket/websocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/websocket/websocket.cpp b/plugins/websocket/websocket.cpp
index 884f691..c7119c6 100644
--- a/plugins/websocket/websocket.cpp
+++ b/plugins/websocket/websocket.cpp
@@ -23,7 +23,7 @@ namespace {
std::string HttpStatus(std::string status, std::string message, std::function<plugin_interface_setter_type>& SetResponseHeader)
{
SetResponseHeader("status", status);
- SetResponseHeader("content_type", "text/html");
+ SetResponseHeader("content_type", "text/plain");
return status + " " + message;
}