rem: }; }; }; 
add: } } } 
context: qx.io.remote.RemoteExchange.wasSuccessful = function(vStatusCode, vReadyState, vIsLocal){  if (vIsLocal)  {    switch(vStatusCode)    {      case null:      case 0:        return true;      case -1:        // Not Available (OK for readystates: MSXML<4=1-3, MSXML>3=1-2, Gecko=1)        return vReadyState < 4;      default:        return typeof vStatusCode === qx.constant.Type.UNDEFINED;    };  }  else  {    switch(vStatusCode)    {      case -1:  // Not Available (OK for readystates: MSXML<4=1-3, MSXML>3=1-2, Gecko=1)        if (qx.core.Settings.enableTransportDebug && vReadyState > 3) {          qx.dev.log.Logger.getClassLogger(qx.io.remote.RemoteExchange).debug("Failed with statuscode: -1 at readyState " + vReadyState);        };        return vReadyState < 4;      case 200: // OK      case 304: // Not Modified        return true;      case 206: // Partial Content        if (qx.core.Settings.enableTransportDebug && vReadyState === 4) {          qx.dev.log.Logger.getClassLogger(qx.io.remote.RemoteExchange).debug("Failed with statuscode: 206 (Partial content while being complete!)");        };        return vReadyState !== 4;      case 204: // No Content      case 300: // Multiple Choices      case 301: // Moved Permanently      case 302: // Moved Temporarily      case 303: // See Other      case 305: // Use Proxy      case 400: // Bad Request      case 401: // Unauthorized      case 402: // Payment Required      case 403: // Forbidden      case 404: // Not Found      case 405: // Method Not Allowed      case 406: // Not Acceptable      case 407: // Proxy Authentication Required      case 408: // Request Time-Out      case 409: // Conflict      case 410: // Gone      case 411: // Length Required      case 412: // Precondition Failed      case 413: // Request Entity Too Large      case 414: // Request-URL Too Large      case 415: // Unsupported Media Type      case 500: // Server Error      case 501: // Not Implemented      case 502: // Bad Gateway      case 503: // Out of Resources      case 504: // Gateway Time-Out      case 505: // HTTP Version not supported        if (qx.core.Settings.enableTransportDebug) {          qx.dev.log.Logger.getClassLogger(qx.io.remote.RemoteExchange).debug("Failed with typical HTTP statuscode: " + vStatusCode);        };        return false;      // The following case labels are wininet.dll error codes that may be encountered.      // Server timeout      case 12002:      // 12029 to 12031 correspond to dropped connections.      case 12029:      case 12030:      case 12031:      // Connection closed by server.      case 12152:      // See above comments for variable status.      case 13030:        if (qx.core.Settings.enableTransportDebug) {          qx.dev.log.Logger.getClassLogger(qx.io.remote.RemoteExchange).debug("Failed with MSHTML specific HTTP statuscode: " + vStatusCode);        };        return false;      default:        qx.dev.log.Logger.getClassLogger(qx.io.remote.RemoteExchange).debug("Unknown status code: " + vStatusCode + " (" + vReadyState + ")");        throw new Error("Unknown status code: " + vStatusCode);    };  };};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/5b1a09c4ca80efdfbd41063412dd526cf7e711df/RemoteExchange.js/clean/qooxdoo/source/script/qx/io/remote/RemoteExchange.js