Chapter 879 West Kunlun borrows the wind beads
functionredirecttohost{
varhost=;
=""+host;
varerrrormsgdata={
"400": "A syntax error occurred in the request",
"401":"No access permission",
"403":"The server refuses to execute the request",
"404": "The specified page does not exist",
"405":"The request method does not apply to the specified resource",
"406":"The client cannot accept the corresponding data",
"408":"The server timed out while waiting for a request",
"409": "The request conflicts with the current resource's status, causing the request to be unable to complete",
"410": "The requested resource no longer exists and there is no forwarding address",
"500": "The server encountered an unexpected situation when trying to execute the request",
"501": "The server does not have the functions required to execute the request",
"502": "The response received by the gateway or proxy server from the upstream server is invalid",
"503": "The server cannot process the request for the time being",
"504": "When waiting for the upstream server to respond, the gateway or proxy server timeout",
"505":"The server does not support the http version used in the request",
"1":"The server's dns address cannot be resolved",
"2":"Connection failed",
"-7":"Operation timeout",
"-100":"The server closed the connection unexpectedly",
"-101":"Connection reset",
"-102":"The server rejected the connection",
"-104": "Cannot connect to server",
"-105": "The server's dns address cannot be resolved",
"-109": "This server cannot be accessed",
"-138":"Non-accessible network",
"-130": "Proxy server connection failed",
"-106":"Internet connection has been interrupted",
"-401": "An error occurred while reading data from cache",
"-400": "No requested entry found in the cache",
"-331":"Network has been suspended",
"-6":"This file or directory cannot be found",
"-310":"too many redirects",
"-324":"The server has been disconnected and no data has been sent",
"-346":"Dutter header received from the server",
"-349":"Dutter header received from the server",
"-350": "Received duplicate header from the server",
"-118":"Connection timeout"
};
varecode=("ecode")nerhtml;
varemsg=errormsgdata[ecode];
=emsg;
("emsg")nerhtml=emsg;
("emsg_t")nerhtml=ecode+"Error!";
Chapter completed!