From: Leandro Lucarella Date: Tue, 18 Nov 2003 22:26:24 +0000 (+0000) Subject: Cambio el Content-Type a text/xml, ahora en el mozilla se ve re-bonito el XML :) X-Git-Tag: svn_import~256 X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/commitdiff_plain/776cd623d2e1078c3fa94492bf1fa29d6f073e75?hp=ee2cb3d6c26ae319d20bde28f415393e96611ece Cambio el Content-Type a text/xml, ahora en el mozilla se ve re-bonito el XML :) --- 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;