diff options
author | Diva Canto | 2011-05-08 16:51:04 -0700 |
---|---|---|
committer | Diva Canto | 2011-05-08 16:53:08 -0700 |
commit | d9607f904a1b16c99cc1e423633a19c65212c2c1 (patch) | |
tree | fb946807bec9be9af180b8f41f4dc81a44023da9 | |
parent | Mantis #5470 -- add forgotten MSSQL's GridUserStore. Thank you MrMonkE (diff) | |
download | opensim-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.cs | 2 |
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)) |