diff options
Diffstat (limited to 'OpenSim/Capabilities')
-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 |