diff --git a/OpenSim/Framework/Servers/HttpServer/SynchronousRestObjectRequester.cs b/OpenSim/Framework/Servers/HttpServer/SynchronousRestObjectRequester.cs index 71e5b69a1a..a3da70972f 100644 --- a/OpenSim/Framework/Servers/HttpServer/SynchronousRestObjectRequester.cs +++ b/OpenSim/Framework/Servers/HttpServer/SynchronousRestObjectRequester.cs @@ -35,6 +35,15 @@ using System.Xml.Serialization; namespace OpenSim.Framework.Servers.HttpServer { public class SynchronousRestObjectPoster + { + [Obsolete] + public static TResponse BeginPostObject(string verb, string requestUrl, TRequest obj) + { + return SynchronousRestObjectRequester.MakeRequest(verb, requestUrl, obj); + } + } + + public class SynchronousRestObjectRequester { /// /// Perform a synchronous REST request. @@ -46,7 +55,7 @@ namespace OpenSim.Framework.Servers.HttpServer /// /// Thrown if we encounter a network issue while posting /// the request. You'll want to make sure you deal with this as they're not uncommon - public static TResponse BeginPostObject(string verb, string requestUrl, TRequest obj) + public static TResponse MakeRequest(string verb, string requestUrl, TRequest obj) { Type type = typeof (TRequest);