diff options
Diffstat (limited to 'OpenSim/Capabilities')
-rw-r--r-- | OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs | 4 | ||||
-rw-r--r-- | OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs index 1f4a8c9..73f2770 100644 --- a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs +++ b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs | |||
@@ -120,10 +120,6 @@ namespace OpenSim.Capabilities.Handlers | |||
120 | { | 120 | { |
121 | LLSDInventoryFolderContents thiscontents = contentsToLLSD(icoll.Collection, icoll.Descendents); | 121 | LLSDInventoryFolderContents thiscontents = contentsToLLSD(icoll.Collection, icoll.Descendents); |
122 | inventoryitemstr = LLSDHelpers.SerialiseLLSDReply(thiscontents); | 122 | inventoryitemstr = LLSDHelpers.SerialiseLLSDReply(thiscontents); |
123 | // inventoryitemstr = inventoryitemstr.Replace("<llsd>", ""); | ||
124 | // inventoryitemstr = inventoryitemstr.Replace("</llsd>", ""); | ||
125 | // inventoryitemstr = inventoryitemstr.Substring(6,inventoryitemstr.Length - 13); | ||
126 | // tmpresponse.Append(inventoryitemstr); | ||
127 | tmpresponse.Append(inventoryitemstr.Substring(6,inventoryitemstr.Length - 13)); | 123 | tmpresponse.Append(inventoryitemstr.Substring(6,inventoryitemstr.Length - 13)); |
128 | } | 124 | } |
129 | 125 | ||
diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs index e73cf9e..2499ce4 100644 --- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs +++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs | |||
@@ -66,8 +66,6 @@ namespace OpenSim.Capabilities.Handlers | |||
66 | Hashtable ret = new Hashtable(); | 66 | Hashtable ret = new Hashtable(); |
67 | ret["int_response_code"] = (int)System.Net.HttpStatusCode.NotFound; | 67 | ret["int_response_code"] = (int)System.Net.HttpStatusCode.NotFound; |
68 | ret["content_type"] = "text/plain"; | 68 | ret["content_type"] = "text/plain"; |
69 | ret["keepalive"] = false; | ||
70 | ret["reusecontext"] = false; | ||
71 | ret["int_bytes"] = 0; | 69 | ret["int_bytes"] = 0; |
72 | string textureStr = (string)request["texture_id"]; | 70 | string textureStr = (string)request["texture_id"]; |
73 | string format = (string)request["format"]; | 71 | string format = (string)request["format"]; |
@@ -112,8 +110,6 @@ namespace OpenSim.Capabilities.Handlers | |||
112 | ret["error_status_text"] = "not found"; | 110 | ret["error_status_text"] = "not found"; |
113 | ret["str_response_string"] = "not found"; | 111 | ret["str_response_string"] = "not found"; |
114 | ret["content_type"] = "text/plain"; | 112 | ret["content_type"] = "text/plain"; |
115 | ret["keepalive"] = false; | ||
116 | ret["reusecontext"] = false; | ||
117 | ret["int_bytes"] = 0; | 113 | ret["int_bytes"] = 0; |
118 | } | 114 | } |
119 | } | 115 | } |