public static String stringForResponseCode(int code)
	{
		switch ( code )
		{
			case 200:
				return "OK";
			case 401:
				return "Not Authorized";
			case 403:
				return "Forbidden";
			case 404:
				return "Not Found";
			case 500:
				return "Internal Server Error";
			case 501:
				return "Not implemented";
			default:
				return "Error";
		}
	}