aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2012-09-26 16:49:39 +0100
committerUbitUmarov2012-09-26 16:49:39 +0100
commit9a042696440e7dd9502f78b80ae8441642912dd3 (patch)
tree5f405a5096617d9e51a1753db1a93cca43e558b0
parent missing file (diff)
downloadopensim-SC_OLD-9a042696440e7dd9502f78b80ae8441642912dd3.zip
opensim-SC_OLD-9a042696440e7dd9502f78b80ae8441642912dd3.tar.gz
opensim-SC_OLD-9a042696440e7dd9502f78b80ae8441642912dd3.tar.bz2
opensim-SC_OLD-9a042696440e7dd9502f78b80ae8441642912dd3.tar.xz
fix GetTextureHandler range
-rw-r--r--OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs6
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