Set request method for REST requests with no input.

0.6.3-post-fixes
Mike Mazur 2009-01-21 02:29:56 +00:00
parent cbbb3a0c6d
commit 792ebca5f3
1 changed files with 1 additions and 0 deletions

View File

@ -283,6 +283,7 @@ namespace OpenSim.Framework.Communications
_request.KeepAlive = false; _request.KeepAlive = false;
_request.ContentType = "application/xml"; _request.ContentType = "application/xml";
_request.Timeout = 200000; _request.Timeout = 200000;
_request.Method = RequestMethod;
_asyncException = null; _asyncException = null;
// IAsyncResult responseAsyncResult = _request.BeginGetResponse(new AsyncCallback(ResponseIsReadyDelegate), _request); // IAsyncResult responseAsyncResult = _request.BeginGetResponse(new AsyncCallback(ResponseIsReadyDelegate), _request);