mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
change robust assets contenttype when answer is xml
This commit is contained in:
@@ -136,7 +136,8 @@ namespace OpenSim.Server.Handlers.Asset
|
|||||||
result = ServerUtils.SerializeResult(xs, asset);
|
result = ServerUtils.SerializeResult(xs, asset);
|
||||||
|
|
||||||
httpResponse.StatusCode = (int)HttpStatusCode.OK;
|
httpResponse.StatusCode = (int)HttpStatusCode.OK;
|
||||||
httpResponse.ContentType = SLUtil.SLAssetTypeToContentType(asset.Type);
|
//httpResponse.ContentType = SLUtil.SLAssetTypeToContentType(asset.Type);
|
||||||
|
httpResponse.ContentType = "text/xml";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user