if (rsp.getStatusCode() >= 300)
if (rsp.getStatusCode() >= 300 && rsp.getStatusCode() < 400) {  rsp = mConnection.Post(loginPage, form_data); }  if (rsp.getStatusCode() >= 400)
	private boolean requestAlbumList() {		mLoggedIn = false;		String albumMessage;		status("[Fetch Albums] Fetching...");				try {			URL url = new URL(mURLString);			String loginPage = url.getFile() + SCRIPT_NAME;						NVPair form_data[] = {				new NVPair("cmd", "fetch-albums"),				new NVPair("protocal_version", PROTOCAL_VERSION),				new NVPair("uname", mUsername),				new NVPair("password", mPassword)			};			Log.log(Log.TRACE, MODULE, "fetchAlbums parameters: uname:" + mUsername 				+ " password: " + mPassword + " url: " + mURLString);						mConnection = new HTTPConnection(url);			HTTPResponse rsp = mConnection.Post(loginPage, form_data);						if (rsp.getStatusCode() >= 300)			{				albumMessage = "HTTP Error: "+rsp.getReasonLine();			} else {				String response = new String(rsp.getData()).trim();				Log.log(Log.TRACE, MODULE, response);				if (response.indexOf("SUCCESS") >= 0) {					albumMessage = "Success";										mAlbumList = new ArrayList();										// build the list of hashtables here...					StringTokenizer lineT = new StringTokenizer(response, "\n");					while (lineT.hasMoreTokens()) {						StringTokenizer colT = new StringTokenizer(lineT.nextToken(), "\t");						Hashtable h = new Hashtable();						if (colT.countTokens() == 2) {							h.put("name", URLDecoder.decode(colT.nextToken()));							h.put("title", URLDecoder.decode(colT.nextToken()));							mAlbumList.add(h);						}					}				} else {					albumMessage = "Error: [" + response + "]";				}			}		} catch (IOException ioe) {			Log.logException(Log.ERROR, MODULE, ioe);			albumMessage = "Error: " + ioe.toString();		} catch (ModuleException me) {			Log.logException(Log.ERROR, MODULE, me);			albumMessage = "Error handling request: " + me.getMessage();		} catch (Exception ee) {			Log.logException(Log.ERROR, MODULE, ee);			albumMessage = "Error: " + ee.getMessage();		}		status("[Album Fetch] " + albumMessage);		return mLoggedIn;	}