aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/WebUtil.cs
diff options
context:
space:
mode:
authorDiva Canto2011-05-08 16:51:04 -0700
committerDiva Canto2011-05-08 16:51:04 -0700
commit3a5e841b0b35a9a67538b986394687785c84acb7 (patch)
treedbf31a2c4c2c95d8cc067fa72fc495c0c95da92d /OpenSim/Framework/WebUtil.cs
parentComment verbose debug message in GetTexture (diff)
downloadopensim-SC_OLD-3a5e841b0b35a9a67538b986394687785c84acb7.zip
opensim-SC_OLD-3a5e841b0b35a9a67538b986394687785c84acb7.tar.gz
opensim-SC_OLD-3a5e841b0b35a9a67538b986394687785c84acb7.tar.bz2
opensim-SC_OLD-3a5e841b0b35a9a67538b986394687785c84acb7.tar.xz
Fix content-type to be application/x-www-form-urlencoded
Diffstat (limited to '')
-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 18e50a2..6b8c3c0 100644
--- a/OpenSim/Framework/WebUtil.cs
+++ b/OpenSim/Framework/WebUtil.cs
@@ -836,7 +836,7 @@ namespace OpenSim.Framework
836 { 836 {
837 if ((verb == "POST") || (verb == "PUT")) 837 if ((verb == "POST") || (verb == "PUT"))
838 { 838 {
839 request.ContentType = "text/www-form-urlencoded"; 839 request.ContentType = "application/x-www-form-urlencoded";
840 840
841 int length = 0; 841 int length = 0;
842 using (StreamWriter writer = new StreamWriter(buffer)) 842 using (StreamWriter writer = new StreamWriter(buffer))