Jira SDK-5323, change MIME type from application/xml to text/xml

This commit is contained in:
jcli
2017-03-05 10:57:07 -08:00
parent 0d6e141c2b
commit c7a3afa8a4
2 changed files with 2 additions and 2 deletions

View File

@@ -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);