aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/SynchronousRestObjectRequester.cs
diff options
context:
space:
mode:
authorDiva Canto2009-08-21 11:00:45 -0700
committerDiva Canto2009-08-21 11:00:45 -0700
commit33186527235091f95a7251ea66a713fdaee1c689 (patch)
treeddba8eb1bedf3243ef5767809e98f381bc615b93 /OpenSim/Framework/Servers/HttpServer/SynchronousRestObjectRequester.cs
parentMerge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-33186527235091f95a7251ea66a713fdaee1c689.zip
opensim-SC_OLD-33186527235091f95a7251ea66a713fdaee1c689.tar.gz
opensim-SC_OLD-33186527235091f95a7251ea66a713fdaee1c689.tar.bz2
opensim-SC_OLD-33186527235091f95a7251ea66a713fdaee1c689.tar.xz
Added a more sane InventoryServerMoveItemsHandler. Changed SynchronousRestObjectRequester so that it also understands PUTs.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/SynchronousRestObjectRequester.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/SynchronousRestObjectRequester.cs b/OpenSim/Framework/Servers/HttpServer/SynchronousRestObjectRequester.cs
index 09ef95b..ec9bd4f 100644
--- a/OpenSim/Framework/Servers/HttpServer/SynchronousRestObjectRequester.cs
+++ b/OpenSim/Framework/Servers/HttpServer/SynchronousRestObjectRequester.cs
@@ -62,7 +62,7 @@ namespace OpenSim.Framework.Servers.HttpServer
62 WebRequest request = WebRequest.Create(requestUrl); 62 WebRequest request = WebRequest.Create(requestUrl);
63 request.Method = verb; 63 request.Method = verb;
64 64
65 if (verb == "POST") 65 if ((verb == "POST") || (verb == "PUT"))
66 { 66 {
67 request.ContentType = "text/xml"; 67 request.ContentType = "text/xml";
68 68