diff options
author | UbitUmarov | 2012-09-26 16:49:39 +0100 |
---|---|---|
committer | UbitUmarov | 2012-09-26 16:49:39 +0100 |
commit | 9a042696440e7dd9502f78b80ae8441642912dd3 (patch) | |
tree | 5f405a5096617d9e51a1753db1a93cca43e558b0 /OpenSim/Capabilities/Handlers/GetTexture | |
parent | missing file (diff) | |
download | opensim-SC-9a042696440e7dd9502f78b80ae8441642912dd3.zip opensim-SC-9a042696440e7dd9502f78b80ae8441642912dd3.tar.gz opensim-SC-9a042696440e7dd9502f78b80ae8441642912dd3.tar.bz2 opensim-SC-9a042696440e7dd9502f78b80ae8441642912dd3.tar.xz |
fix GetTextureHandler range
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs index 4e755aa..0df16d6 100644 --- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs +++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs | |||
@@ -187,7 +187,11 @@ namespace OpenSim.Capabilities.Handlers | |||
187 | response["headers"] = headers; | 187 | response["headers"] = headers; |
188 | 188 | ||
189 | string range = String.Empty; | 189 | string range = String.Empty; |
190 | if (((Hashtable)request["headers"])["Range"] != null) | 190 | |
191 | if (((Hashtable)request["headers"])["range"] != null) | ||
192 | range = (string)((Hashtable)request["headers"])["range"]; | ||
193 | |||
194 | else if (((Hashtable)request["headers"])["Range"] != null) | ||
191 | range = (string)((Hashtable)request["headers"])["Range"]; | 195 | range = (string)((Hashtable)request["headers"])["Range"]; |
192 | 196 | ||
193 | if (!String.IsNullOrEmpty(range)) // JP2's only | 197 | if (!String.IsNullOrEmpty(range)) // JP2's only |