diff options
author | Diva Canto | 2009-08-21 11:00:45 -0700 |
---|---|---|
committer | Diva Canto | 2009-08-21 11:00:45 -0700 |
commit | 33186527235091f95a7251ea66a713fdaee1c689 (patch) | |
tree | ddba8eb1bedf3243ef5767809e98f381bc615b93 /OpenSim/Framework/Servers/HttpServer | |
parent | Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim (diff) | |
download | opensim-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 'OpenSim/Framework/Servers/HttpServer')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/SynchronousRestObjectRequester.cs | 2 |
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 | ||