aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/RestClient.cs
diff options
context:
space:
mode:
authordahlia2014-05-30 13:47:19 -0700
committerdahlia2014-05-30 13:47:19 -0700
commit9ced61fbc26a977cb2b0aedecdc60fcd684f365e (patch)
tree666efb870efadffe24da445d585a7bc17b0faba2 /OpenSim/Framework/Communications/RestClient.cs
parentminor: Comment out log line in Groups V2 GroupsServicePostHandler for now whi... (diff)
downloadopensim-SC-9ced61fbc26a977cb2b0aedecdc60fcd684f365e.zip
opensim-SC-9ced61fbc26a977cb2b0aedecdc60fcd684f365e.tar.gz
opensim-SC-9ced61fbc26a977cb2b0aedecdc60fcd684f365e.tar.bz2
opensim-SC-9ced61fbc26a977cb2b0aedecdc60fcd684f365e.tar.xz
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.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Communications/RestClient.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/RestClient.cs b/OpenSim/Framework/Communications/RestClient.cs
index 89e6aa1..586400f 100644
--- a/OpenSim/Framework/Communications/RestClient.cs
+++ b/OpenSim/Framework/Communications/RestClient.cs
@@ -299,6 +299,14 @@ namespace OpenSim.Framework.Communications
299 /// <summary> 299 /// <summary>
300 /// Perform a synchronous request 300 /// Perform a synchronous request
301 /// </summary> 301 /// </summary>
302 public Stream Request()
303 {
304 return Request(null);
305 }
306
307 /// <summary>
308 /// Perform a synchronous request
309 /// </summary>
302 public Stream Request(IServiceAuth auth) 310 public Stream Request(IServiceAuth auth)
303 { 311 {
304 lock (_lock) 312 lock (_lock)