From 776cd623d2e1078c3fa94492bf1fa29d6f073e75 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Tue, 18 Nov 2003 22:26:24 +0000 Subject: [PATCH] Cambio el Content-Type a text/xml, ahora en el mozilla se ve re-bonito el XML :) --- Server/src/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/src/server.cpp b/Server/src/server.cpp index bb66fe5..2f93c6d 100644 --- a/Server/src/server.cpp +++ b/Server/src/server.cpp @@ -155,7 +155,7 @@ void Server::on_control_command_received(const Command& command, response = new HTTPResponse(HTTPMessage::NOT_FOUND, "Invalid taget!"); } // FIXME - response->headers["Content-Type"] = "text/html; charset=iso-8859-1"; + response->headers["Content-Type"] = "text/xml; charset=iso-8859-1"; //response->headers["Connection"] = "close"; controlserver->send(*response); delete response; -- 2.43.0