mirror of https://github.com/opensim/opensim.git
change robust assets contenttype when answer is xml
This commit is contained in:
parent
184a2eaf75
commit
38cb0fd6cf
|
@ -136,7 +136,8 @@ namespace OpenSim.Server.Handlers.Asset
|
|||
result = ServerUtils.SerializeResult(xs, asset);
|
||||
|
||||
httpResponse.StatusCode = (int)HttpStatusCode.OK;
|
||||
httpResponse.ContentType = SLUtil.SLAssetTypeToContentType(asset.Type);
|
||||
//httpResponse.ContentType = SLUtil.SLAssetTypeToContentType(asset.Type);
|
||||
httpResponse.ContentType = "text/xml";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue