diff options
author | Arthur Valadares | 2009-08-21 17:52:25 -0300 |
---|---|---|
committer | Arthur Valadares | 2009-08-21 17:52:25 -0300 |
commit | 173701dd6377f127877ee31ba204c39b88c21a35 (patch) | |
tree | 7f96b168c0a10ab3fa9763114401d701342406e5 /OpenSim/Framework/Servers/HttpServer | |
parent | Fix issue where conversion of temporary boolean variable fails on MySQL (diff) | |
parent | Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-173701dd6377f127877ee31ba204c39b88c21a35.zip opensim-SC_OLD-173701dd6377f127877ee31ba204c39b88c21a35.tar.gz opensim-SC_OLD-173701dd6377f127877ee31ba204c39b88c21a35.tar.bz2 opensim-SC_OLD-173701dd6377f127877ee31ba204c39b88c21a35.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
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 | ||