@SuppressWarnings("deprecation")
	public void GET(String request, String full, Server server) {
		BrowserGETRequestEvent bgre = new BrowserGETRequestEvent(this, request, full);
		server.getEventSystem().callEvent(bgre);
		if (bgre.isCancelled())
			return;
		String respond = bgre.getResponse();
		if (respond.equals("")) 
			writer.println("HTTP/1.1 404 Not Found");
		else {
			writer.println("HTTP/1.1 200 OK");
			writer.println("Date: " + new Date().toLocaleString());
			writer.println("Content-Type: " + (bgre.isHTML() ? "text/html" : "text/plain"));
			writer.println("Content-Lenght: " + respond.getBytes().length);
			writer.println();
			writer.println(respond);
		}
		CloseConnection();
	}