From 6f4052561ec68f11982b9f7b9067990858717b9b Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 14 Jul 2018 14:39:29 +0100 Subject: [PATCH] send data as bin not string to http lower level --- .../ClientStack/Linden/Caps/WebFetchInvDescModule.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs index 11130023d8..bae82a07e4 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)