"UTF8"));
separator = "&";
}
path = makeQualified(path);
URL url = new URL(path + sb.toString());
HttpURLConnection conn = new AuthenticatedURL(authenticator).openConnection(url, authToken);
conn.setRequestMethod(method);
if (method.equals("POST") || method.equals("PUT")) {
conn.setDoOutput(true);
}
return conn;