From 9ced61fbc26a977cb2b0aedecdc60fcd684f365e Mon Sep 17 00:00:00 2001 From: dahlia Date: Fri, 30 May 2014 13:47:19 -0700 Subject: [PATCH] Add a 0 parameter overload for RestClient.Request() for use when no auth is required. This preserves API compatibility for external modules using this function. --- OpenSim/Framework/Communications/RestClient.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/OpenSim/Framework/Communications/RestClient.cs b/OpenSim/Framework/Communications/RestClient.cs index 89e6aa1cce..586400f2e9 100644 --- a/OpenSim/Framework/Communications/RestClient.cs +++ b/OpenSim/Framework/Communications/RestClient.cs @@ -296,6 +296,14 @@ namespace OpenSim.Framework.Communications #endregion Async communications with server + /// + /// Perform a synchronous request + /// + public Stream Request() + { + return Request(null); + } + /// /// Perform a synchronous request ///