aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTom2010-12-14 09:14:34 -0800
committerTom2010-12-14 09:14:34 -0800
commit5ce296e08de8875da6feddd4a9edf4b16558009d (patch)
tree351ce7067abc338e36b367c65cfc359a4a9ba0af
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC-5ce296e08de8875da6feddd4a9edf4b16558009d.zip
opensim-SC-5ce296e08de8875da6feddd4a9edf4b16558009d.tar.gz
opensim-SC-5ce296e08de8875da6feddd4a9edf4b16558009d.tar.bz2
opensim-SC-5ce296e08de8875da6feddd4a9edf4b16558009d.tar.xz
Workaround to allow llHTTPRequest to POST data to Lighthttpd which doesn't support Expect: 100-Continue
Diffstat (limited to '')
-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