From 792ebca5f37a9d7f727530f063191b108d7634ee Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Wed, 21 Jan 2009 02:29:56 +0000 Subject: [PATCH] Set request method for REST requests with no input. --- OpenSim/Framework/Communications/RestClient.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenSim/Framework/Communications/RestClient.cs b/OpenSim/Framework/Communications/RestClient.cs index 7d4518614c..970f2a9d1c 100644 --- a/OpenSim/Framework/Communications/RestClient.cs +++ b/OpenSim/Framework/Communications/RestClient.cs @@ -283,6 +283,7 @@ namespace OpenSim.Framework.Communications _request.KeepAlive = false; _request.ContentType = "application/xml"; _request.Timeout = 200000; + _request.Method = RequestMethod; _asyncException = null; // IAsyncResult responseAsyncResult = _request.BeginGetResponse(new AsyncCallback(ResponseIsReadyDelegate), _request);