private static void setConnectionContentType(java.net.HttpURLConnection p1, boolean p2)
    {
        if (p2 == null) {
            p1.setRequestProperty(Content-Type, com.facebook.GraphRequest.getMimeContentType());
        } else {
            p1.setRequestProperty(Content-Type, application/x-www-form-urlencoded);
            p1.setRequestProperty(Content-Encoding, gzip);
        }
        return;
    }