fix a http error response

0.9.1.0-post-fixes
UbitUmarov 2018-11-12 16:06:40 +00:00
parent 64f8036d8f
commit c28738a17f
1 changed files with 2 additions and 2 deletions

View File

@ -291,7 +291,7 @@ namespace OpenSim.Region.ClientStack.Linden
Hashtable response = new Hashtable(); Hashtable response = new Hashtable();
response["int_response_code"] = 500; response["int_response_code"] = 500;
response["str_response_string"] = "Script timeout"; response["str_response_string"] = "timeout";
response["content_type"] = "text/plain"; response["content_type"] = "text/plain";
response["keepalive"] = false; response["keepalive"] = false;
return response; return response;
@ -323,7 +323,7 @@ namespace OpenSim.Region.ClientStack.Linden
{ {
curresponse = new Hashtable(); curresponse = new Hashtable();
curresponse["int_response_code"] = 500; curresponse["int_response_code"] = 500;
curresponse["str_response_string"] = "Script timeout"; curresponse["str_response_string"] = "timeout";
curresponse["content_type"] = "text/plain"; curresponse["content_type"] = "text/plain";
curresponse["keepalive"] = false; curresponse["keepalive"] = false;
responses[requestID] = new APollResponse() { bytes = 0, response = curresponse }; responses[requestID] = new APollResponse() { bytes = 0, response = curresponse };