diff options
author | Diva Canto | 2011-05-08 16:51:04 -0700 |
---|---|---|
committer | Diva Canto | 2011-05-08 16:51:04 -0700 |
commit | 3a5e841b0b35a9a67538b986394687785c84acb7 (patch) | |
tree | dbf31a2c4c2c95d8cc067fa72fc495c0c95da92d /OpenSim | |
parent | Comment verbose debug message in GetTexture (diff) | |
download | opensim-SC-3a5e841b0b35a9a67538b986394687785c84acb7.zip opensim-SC-3a5e841b0b35a9a67538b986394687785c84acb7.tar.gz opensim-SC-3a5e841b0b35a9a67538b986394687785c84acb7.tar.bz2 opensim-SC-3a5e841b0b35a9a67538b986394687785c84acb7.tar.xz |
Fix content-type to be application/x-www-form-urlencoded
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/WebUtil.cs | 2 |
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)) |