diff --git a/server/dial_server.c b/server/dial_server.c index 525cf53..0c68977 100644 --- a/server/dial_server.c +++ b/server/dial_server.c @@ -232,7 +232,7 @@ static void handle_app_status(struct mg_connection *conn, mg_printf( conn, "HTTP/1.1 200 OK\r\n" - "Content-Type: application/xml\r\n" + "Content-Type: text/xml\r\n" "Access-Control-Allow-Origin: %s\r\n" "\r\n" "\r\n" diff --git a/server/quick_ssdp.c b/server/quick_ssdp.c index a5d629c..e641741 100644 --- a/server/quick_ssdp.c +++ b/server/quick_ssdp.c @@ -96,7 +96,7 @@ static void *request_handler(enum mg_event event, if (!strcmp(request_info->uri, "/dd.xml") && !strcmp(request_info->request_method, "GET")) { mg_printf(conn, "HTTP/1.1 200 OK\r\n" - "Content-Type: application/xml\r\n" + "Content-Type: text/xml\r\n" "Application-URL: http://%s:%d/apps/\r\n" "\r\n", ip_addr, dial_port); mg_printf(conn, ddxml, friendly_name, model_name, uuid);