diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs b/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs index 035097f..ae5e175 100644 --- a/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs +++ b/OpenSim/Region/CoreModules/Scripting/HttpRequest/ScriptsHttpRequests.cs | |||
@@ -663,12 +663,6 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest | |||
663 | Status = (int)OSHttpStatusCode.ClientErrorJoker; | 663 | Status = (int)OSHttpStatusCode.ClientErrorJoker; |
664 | ResponseBody = e.Message; | 664 | ResponseBody = e.Message; |
665 | } | 665 | } |
666 | |||
667 | if (ResponseBody == null) | ||
668 | ResponseBody = String.Empty; | ||
669 | |||
670 | _finished = true; | ||
671 | return; | ||
672 | } | 666 | } |
673 | catch (Exception e) | 667 | catch (Exception e) |
674 | { | 668 | { |
@@ -727,13 +721,10 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest | |||
727 | else | 721 | else |
728 | { | 722 | { |
729 | _finished = true; | 723 | _finished = true; |
724 | if (ResponseBody == null) | ||
725 | ResponseBody = String.Empty; | ||
730 | } | 726 | } |
731 | } | 727 | } |
732 | |||
733 | if (ResponseBody == null) | ||
734 | ResponseBody = String.Empty; | ||
735 | |||
736 | _finished = true; | ||
737 | } | 728 | } |
738 | 729 | ||
739 | public void Stop() | 730 | public void Stop() |