* Added a sanity check for missing asset data in LLClientView

* Moved the SL asset type to content type conversion methods from ServerUtils to OpenSim.Framework.SLUtil
* Linked content type to asset type in AssetMetadata
This commit is contained in:
John Hurliman
2010-02-20 16:21:13 -08:00
parent eb22fde96c
commit 845a390e93
5 changed files with 212 additions and 181 deletions

View File

@@ -91,7 +91,7 @@ namespace OpenSim.Server.Handlers.Asset
httpResponse.StatusCode = (int)HttpStatusCode.OK;
httpResponse.ContentType =
ServerUtils.SLAssetTypeToContentType(metadata.Type);
SLUtil.SLAssetTypeToContentType(metadata.Type);
}
else
{
@@ -111,7 +111,7 @@ namespace OpenSim.Server.Handlers.Asset
httpResponse.StatusCode = (int)HttpStatusCode.OK;
httpResponse.ContentType =
ServerUtils.SLAssetTypeToContentType(asset.Type);
SLUtil.SLAssetTypeToContentType(asset.Type);
}
else
{