diff --git a/src/output/output_http.cpp b/src/output/output_http.cpp index f885e3a2..e5d1fae9 100644 --- a/src/output/output_http.cpp +++ b/src/output/output_http.cpp @@ -202,6 +202,7 @@ namespace Mist { if (!handler.size()){ H.Clean(); H.SetHeader("Server", "MistServer/" PACKAGE_VERSION); + H.setCORSHeaders(); H.SetBody("Unsupported Media Type

Unsupported Media Type

The server isn't quite sure what you wanted to receive from it."); H.SendResponse("415", "Unsupported Media Type", myConn); myConn.close();