diff --git a/src/output/output_http.cpp b/src/output/output_http.cpp index 4bb71094..90e5ce0f 100644 --- a/src/output/output_http.cpp +++ b/src/output/output_http.cpp @@ -204,6 +204,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();