mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +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);
|
||||
|
||||
httpResponse.StatusCode = (int)HttpStatusCode.OK;
|
||||
httpResponse.ContentType = SLUtil.SLAssetTypeToContentType(asset.Type);
|
||||
//httpResponse.ContentType = SLUtil.SLAssetTypeToContentType(asset.Type);
|
||||
httpResponse.ContentType = "text/xml";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user