mantis 8171 fix redirection on llHttpRequest
parent
9397b358d3
commit
49d42ee08a
|
@ -663,12 +663,6 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest
|
||||||
Status = (int)OSHttpStatusCode.ClientErrorJoker;
|
Status = (int)OSHttpStatusCode.ClientErrorJoker;
|
||||||
ResponseBody = e.Message;
|
ResponseBody = e.Message;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ResponseBody == null)
|
|
||||||
ResponseBody = String.Empty;
|
|
||||||
|
|
||||||
_finished = true;
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
@ -727,13 +721,10 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_finished = true;
|
_finished = true;
|
||||||
|
if (ResponseBody == null)
|
||||||
|
ResponseBody = String.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ResponseBody == null)
|
|
||||||
ResponseBody = String.Empty;
|
|
||||||
|
|
||||||
_finished = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Stop()
|
public void Stop()
|
||||||
|
|
Loading…
Reference in New Issue