]> git.llucax.com Git - z.facultad/75.42/plaqui.git/commitdiff
Cambio el Content-Type a text/xml, ahora en el mozilla se ve re-bonito el XML :)
authorLeandro Lucarella <llucax@gmail.com>
Tue, 18 Nov 2003 22:26:24 +0000 (22:26 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Tue, 18 Nov 2003 22:26:24 +0000 (22:26 +0000)
Server/src/server.cpp

index bb66fe522f5a3f9503b9b60b11cdc591c4f07b28..2f93c6d3ae7182916f904a8868c335fe2765e9fd 100644 (file)
@@ -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;