diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/EstateAccess.cs | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EstateAccess.cs b/OpenSim/Region/ClientStack/Linden/Caps/EstateAccess.cs index a9f9456..cd6cdef 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/EstateAccess.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/EstateAccess.cs | |||
@@ -140,18 +140,16 @@ namespace OpenSim.Region.ClientStack.Linden | |||
140 | public Hashtable ProcessRequest(Hashtable request, UUID AgentId, Caps cap) | 140 | public Hashtable ProcessRequest(Hashtable request, UUID AgentId, Caps cap) |
141 | { | 141 | { |
142 | Hashtable responsedata = new Hashtable(); | 142 | Hashtable responsedata = new Hashtable(); |
143 | responsedata["int_response_code"] = 400; //501; //410; //404; | 143 | responsedata["int_response_code"] = 200; //501; //410; //404; |
144 | responsedata["content_type"] = "text/plain"; | 144 | responsedata["content_type"] = "text/plain"; |
145 | responsedata["keepalive"] = false; | ||
146 | responsedata["str_response_string"] = "Request wasn't what was expected"; | ||
147 | ScenePresence avatar; | ||
148 | 145 | ||
146 | ScenePresence avatar; | ||
149 | if (!m_scene.TryGetScenePresence(AgentId, out avatar)) | 147 | if (!m_scene.TryGetScenePresence(AgentId, out avatar)) |
148 | { | ||
149 | responsedata["str_response_string"] = "<llsd><array /></llsd>"; ; | ||
150 | responsedata["keepalive"] = false; | ||
150 | return responsedata; | 151 | return responsedata; |
151 | 152 | } | |
152 | responsedata["int_response_code"] = 200; //501; //410; //404; | ||
153 | responsedata["content_type"] = "text/plain"; | ||
154 | responsedata["keepalive"] = true; | ||
155 | 153 | ||
156 | if (m_scene.RegionInfo == null | 154 | if (m_scene.RegionInfo == null |
157 | || m_scene.RegionInfo.EstateSettings == null | 155 | || m_scene.RegionInfo.EstateSettings == null |