From 6f4052561ec68f11982b9f7b9067990858717b9b Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 14 Jul 2018 14:39:29 +0100 Subject: send data as bin not string to http lower level --- .../Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs index 1113002..bae82a0 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs @@ -394,9 +394,14 @@ namespace OpenSim.Region.ClientStack.Linden response["int_response_code"] = 200; response["content_type"] = "text/plain"; - response["str_response_string"] = m_webFetchHandler.FetchInventoryDescendentsRequest( - requestinfo.request["body"].ToString(), String.Empty, String.Empty, null, null); - +// response["str_response_string"] = m_webFetchHandler.FetchInventoryDescendentsRequest( +// requestinfo.request["body"].ToString(), String.Empty, String.Empty, null, null); + + response["bin_response_data"] = System.Text.Encoding.UTF8.GetBytes( + m_webFetchHandler.FetchInventoryDescendentsRequest( + requestinfo.request["body"].ToString(), + String.Empty, String.Empty, null, null) + ); lock (responses) { lock(dropedResponses) -- cgit v1.1