diff options
author | UbitUmarov | 2018-07-14 14:39:29 +0100 |
---|---|---|
committer | UbitUmarov | 2018-07-14 14:39:29 +0100 |
commit | 6f4052561ec68f11982b9f7b9067990858717b9b (patch) | |
tree | 0f321ef1c688c360a823c99ee2c6dc99aee563eb /OpenSim/Region | |
parent | have default ids of avatar alpha and tattoo (diff) | |
download | opensim-SC-6f4052561ec68f11982b9f7b9067990858717b9b.zip opensim-SC-6f4052561ec68f11982b9f7b9067990858717b9b.tar.gz opensim-SC-6f4052561ec68f11982b9f7b9067990858717b9b.tar.bz2 opensim-SC-6f4052561ec68f11982b9f7b9067990858717b9b.tar.xz |
send data as bin not string to http lower level
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs | 11 |
1 files changed, 8 insertions, 3 deletions
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 | |||
394 | response["int_response_code"] = 200; | 394 | response["int_response_code"] = 200; |
395 | response["content_type"] = "text/plain"; | 395 | response["content_type"] = "text/plain"; |
396 | 396 | ||
397 | response["str_response_string"] = m_webFetchHandler.FetchInventoryDescendentsRequest( | 397 | // response["str_response_string"] = m_webFetchHandler.FetchInventoryDescendentsRequest( |
398 | requestinfo.request["body"].ToString(), String.Empty, String.Empty, null, null); | 398 | // requestinfo.request["body"].ToString(), String.Empty, String.Empty, null, null); |
399 | 399 | ||
400 | response["bin_response_data"] = System.Text.Encoding.UTF8.GetBytes( | ||
401 | m_webFetchHandler.FetchInventoryDescendentsRequest( | ||
402 | requestinfo.request["body"].ToString(), | ||
403 | String.Empty, String.Empty, null, null) | ||
404 | ); | ||
400 | lock (responses) | 405 | lock (responses) |
401 | { | 406 | { |
402 | lock(dropedResponses) | 407 | lock(dropedResponses) |