aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Scripting
diff options
context:
space:
mode:
authorTom2010-12-14 09:14:34 -0800
committerTom2010-12-14 09:14:34 -0800
commit5ce296e08de8875da6feddd4a9edf4b16558009d (patch)
tree351ce7067abc338e36b367c65cfc359a4a9ba0af /OpenSim/Region/CoreModules/Scripting
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC_OLD-5ce296e08de8875da6feddd4a9edf4b16558009d.zip
opensim-SC_OLD-5ce296e08de8875da6feddd4a9edf4b16558009d.tar.gz
opensim-SC_OLD-5ce296e08de8875da6feddd4a9edf4b16558009d.tar.bz2
opensim-SC_OLD-5ce296e08de8875da6feddd4a9edf4b16558009d.tar.xz
Workaround to allow llHTTPRequest to POST data to Lighthttpd which doesn't support Expect: 100-Continue
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting')
-rw-r--r--OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs b/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs
index d78931a..e4a2461 100644
--- a/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs
+++ b/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs
@@ -341,6 +341,10 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest
341 try 341 try
342 { 342 {
343 Request = (HttpWebRequest) WebRequest.Create(Url); 343 Request = (HttpWebRequest) WebRequest.Create(Url);
344
345 //This works around some buggy HTTP Servers like Lighttpd
346 Request.ServicePoint.Expect100Continue = false;
347
344 Request.Method = HttpMethod; 348 Request.Method = HttpMethod;
345 Request.ContentType = HttpMIMEType; 349 Request.ContentType = HttpMIMEType;
346 350