public static String readAll(HttpResponse response) {
	String out = "";
	try {
	    HttpEntity entity = response.getEntity();
	    String code = HttpUT.getCharSet(entity);
	    InputStream in = entity.getContent();
	    out = readResponse(in, code);
	} catch (Exception e) {
	    e.printStackTrace();
	}
	return out;
    }