Merge branch 'development' into LTS_development

This commit is contained in:
Thulinma 2018-12-13 13:41:56 +01:00
commit ef85ebda75

View file

@ -204,6 +204,7 @@ namespace Mist {
if (!handler.size()){
H.Clean();
H.SetHeader("Server", "MistServer/" PACKAGE_VERSION);
H.setCORSHeaders();
H.SetBody("<!DOCTYPE html><html><head><title>Unsupported Media Type</title></head><body><h1>Unsupported Media Type</h1>The server isn't quite sure what you wanted to receive from it.</body></html>");
H.SendResponse("415", "Unsupported Media Type", myConn);
myConn.close();