diff options
author | John Hurliman | 2010-02-20 16:21:13 -0800 |
---|---|---|
committer | John Hurliman | 2010-02-20 16:21:13 -0800 |
commit | 845a390e9308f6b6823c85ac319ecb211f968d4b (patch) | |
tree | 7cc28abeb9396c845db7c3a8f4f04a4eb17af685 /OpenSim/Server/Handlers/Asset | |
parent | * Fixed SL asset type enum to mime type conversion and added more helper func... (diff) | |
download | opensim-SC_OLD-845a390e9308f6b6823c85ac319ecb211f968d4b.zip opensim-SC_OLD-845a390e9308f6b6823c85ac319ecb211f968d4b.tar.gz opensim-SC_OLD-845a390e9308f6b6823c85ac319ecb211f968d4b.tar.bz2 opensim-SC_OLD-845a390e9308f6b6823c85ac319ecb211f968d4b.tar.xz |
* 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
Diffstat (limited to 'OpenSim/Server/Handlers/Asset')
-rw-r--r-- | OpenSim/Server/Handlers/Asset/AssetServerGetHandler.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Server/Handlers/Asset/AssetServerGetHandler.cs b/OpenSim/Server/Handlers/Asset/AssetServerGetHandler.cs index fe0da0b..43c1693 100644 --- a/OpenSim/Server/Handlers/Asset/AssetServerGetHandler.cs +++ b/OpenSim/Server/Handlers/Asset/AssetServerGetHandler.cs | |||
@@ -91,7 +91,7 @@ namespace OpenSim.Server.Handlers.Asset | |||
91 | 91 | ||
92 | httpResponse.StatusCode = (int)HttpStatusCode.OK; | 92 | httpResponse.StatusCode = (int)HttpStatusCode.OK; |
93 | httpResponse.ContentType = | 93 | httpResponse.ContentType = |
94 | ServerUtils.SLAssetTypeToContentType(metadata.Type); | 94 | SLUtil.SLAssetTypeToContentType(metadata.Type); |
95 | } | 95 | } |
96 | else | 96 | else |
97 | { | 97 | { |
@@ -111,7 +111,7 @@ namespace OpenSim.Server.Handlers.Asset | |||
111 | 111 | ||
112 | httpResponse.StatusCode = (int)HttpStatusCode.OK; | 112 | httpResponse.StatusCode = (int)HttpStatusCode.OK; |
113 | httpResponse.ContentType = | 113 | httpResponse.ContentType = |
114 | ServerUtils.SLAssetTypeToContentType(asset.Type); | 114 | SLUtil.SLAssetTypeToContentType(asset.Type); |
115 | } | 115 | } |
116 | else | 116 | else |
117 | { | 117 | { |