aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDiva Canto2011-05-08 16:51:04 -0700
committerDiva Canto2011-05-08 16:53:08 -0700
commitd9607f904a1b16c99cc1e423633a19c65212c2c1 (patch)
treefb946807bec9be9af180b8f41f4dc81a44023da9
parentMantis #5470 -- add forgotten MSSQL's GridUserStore. Thank you MrMonkE (diff)
downloadopensim-SC_OLD-d9607f904a1b16c99cc1e423633a19c65212c2c1.zip
opensim-SC_OLD-d9607f904a1b16c99cc1e423633a19c65212c2c1.tar.gz
opensim-SC_OLD-d9607f904a1b16c99cc1e423633a19c65212c2c1.tar.bz2
opensim-SC_OLD-d9607f904a1b16c99cc1e423633a19c65212c2c1.tar.xz
Fix content-type to be application/x-www-form-urlencoded
-rw-r--r--OpenSim/Framework/WebUtil.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs
index 698ae94..7c7e19d 100644
--- a/OpenSim/Framework/WebUtil.cs
+++ b/OpenSim/Framework/WebUtil.cs
@@ -809,7 +809,7 @@ namespace OpenSim.Framework
809 { 809 {
810 if ((verb == "POST") || (verb == "PUT")) 810 if ((verb == "POST") || (verb == "PUT"))
811 { 811 {
812 request.ContentType = "text/www-form-urlencoded"; 812 request.ContentType = "application/x-www-form-urlencoded";
813 813
814 int length = 0; 814 int length = 0;
815 using (StreamWriter writer = new StreamWriter(buffer)) 815 using (StreamWriter writer = new StreamWriter(buffer))