REST Console delivers responses with content type text/xml instead of text/plain.

Non-error responses to requests SessionCommand and CloseSession should use the appropriate content type for their XML data payload.
0.7-post-fixes
Marck 2010-09-11 11:59:07 +02:00 committed by Diva Canto
parent 1ac4c57bb6
commit 8211e215cd
1 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ namespace OpenSim.Framework.Console
reply["str_response_string"] = xmldoc.InnerXml;
reply["int_response_code"] = 200;
reply["content_type"] = "text/plain";
reply["content_type"] = "text/xml";
return reply;
}
@ -343,7 +343,7 @@ namespace OpenSim.Framework.Console
reply["str_response_string"] = xmldoc.InnerXml;
reply["int_response_code"] = 200;
reply["content_type"] = "text/plain";
reply["content_type"] = "text/xml";
return reply;
}