aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Scripting/HttpRequest
diff options
context:
space:
mode:
authorCharles Krinke2008-07-09 18:42:34 +0000
committerCharles Krinke2008-07-09 18:42:34 +0000
commit96b64d6973e714052bfd3d59748314b15d5ffd2d (patch)
tree2975bab5b74474d3d937393f868bc96df10f645e /OpenSim/Region/Environment/Modules/Scripting/HttpRequest
parentMantis#1704. Thank you kindly, Mjm for a patch that: (diff)
downloadopensim-SC_OLD-96b64d6973e714052bfd3d59748314b15d5ffd2d.zip
opensim-SC_OLD-96b64d6973e714052bfd3d59748314b15d5ffd2d.tar.gz
opensim-SC_OLD-96b64d6973e714052bfd3d59748314b15d5ffd2d.tar.bz2
opensim-SC_OLD-96b64d6973e714052bfd3d59748314b15d5ffd2d.tar.xz
Mantis#1127. Thank you kindly, Grumly57 for a patch that:
Addresses HTTP_METHOD parameter does not work for POST requests.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Scripting/HttpRequest')
-rw-r--r--OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs b/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs
index a267f53..6e32362 100644
--- a/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs
+++ b/OpenSim/Region/Environment/Modules/Scripting/HttpRequest/ScriptsHttpRequests.cs
@@ -117,7 +117,7 @@ namespace OpenSim.Region.Environment.Modules.Scripting.HttpRequest
117 if (parameters != null) 117 if (parameters != null)
118 { 118 {
119 string[] parms = parameters.ToArray(); 119 string[] parms = parameters.ToArray();
120 for (int i = 0; i < parms.Length / 2; i += 2) 120 for (int i = 0; i < parms.Length; i += 2)
121 { 121 {
122 switch (Int32.Parse(parms[i])) 122 switch (Int32.Parse(parms[i]))
123 { 123 {