aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications
diff options
context:
space:
mode:
authorMike Mazur2009-01-21 02:29:56 +0000
committerMike Mazur2009-01-21 02:29:56 +0000
commit792ebca5f37a9d7f727530f063191b108d7634ee (patch)
tree264b762f6bc06a9c12aa65a4f5494d488e703b5f /OpenSim/Framework/Communications
parentAnd another method added (diff)
downloadopensim-SC_OLD-792ebca5f37a9d7f727530f063191b108d7634ee.zip
opensim-SC_OLD-792ebca5f37a9d7f727530f063191b108d7634ee.tar.gz
opensim-SC_OLD-792ebca5f37a9d7f727530f063191b108d7634ee.tar.bz2
opensim-SC_OLD-792ebca5f37a9d7f727530f063191b108d7634ee.tar.xz
Set request method for REST requests with no input.
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r--OpenSim/Framework/Communications/RestClient.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/RestClient.cs b/OpenSim/Framework/Communications/RestClient.cs
index 7d45186..970f2a9 100644
--- a/OpenSim/Framework/Communications/RestClient.cs
+++ b/OpenSim/Framework/Communications/RestClient.cs
@@ -283,6 +283,7 @@ namespace OpenSim.Framework.Communications
283 _request.KeepAlive = false; 283 _request.KeepAlive = false;
284 _request.ContentType = "application/xml"; 284 _request.ContentType = "application/xml";
285 _request.Timeout = 200000; 285 _request.Timeout = 200000;
286 _request.Method = RequestMethod;
286 _asyncException = null; 287 _asyncException = null;
287 288
288// IAsyncResult responseAsyncResult = _request.BeginGetResponse(new AsyncCallback(ResponseIsReadyDelegate), _request); 289// IAsyncResult responseAsyncResult = _request.BeginGetResponse(new AsyncCallback(ResponseIsReadyDelegate), _request);