diff options
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs b/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs index d258293..85d105e 100644 --- a/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs +++ b/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs | |||
@@ -494,7 +494,12 @@ namespace OpenSim.Services.Connectors | |||
494 | private Dictionary<string,object> MakeRequest(string method, | 494 | private Dictionary<string,object> MakeRequest(string method, |
495 | Dictionary<string,object> sendData) | 495 | Dictionary<string,object> sendData) |
496 | { | 496 | { |
497 | sendData["METHOD"] = method; | 497 | // Add "METHOD" as the first key in the dictionary. This ensures that it will be |
498 | // visible even when using partial logging ("debug http all 5"). | ||
499 | Dictionary<string, object> temp = sendData; | ||
500 | sendData = new Dictionary<string,object>{ { "METHOD", method } }; | ||
501 | foreach (KeyValuePair<string, object> kvp in temp) | ||
502 | sendData.Add(kvp.Key, kvp.Value); | ||
498 | 503 | ||
499 | string reply = string.Empty; | 504 | string reply = string.Empty; |
500 | lock (m_Lock) | 505 | lock (m_Lock) |