private String getMimeType(String request) {
	 		if(request.endsWith(".html") || request.endsWith(".htm"))
	 			return "text/html";
	 		else if(request.endsWith(".css"))
	 			return "text/css";
	 		else if(request.endsWith(".js"))
	 			return "text/javascript";
	 		else if(request.endsWith(".jpg") || request.endsWith(".jpeg"))
	 			return "image/jpeg";
	 		else if(request.endsWith(".png"))
	 			return "image/png";
	 		else if(request.endsWith(".ico"))
	 			return "image/icon";
	 		else
	 			return "application/octet-stream";
	 	}