import java.io.IOException;
import java.net.HttpURLConnection;
-import java.net.URL;
-import java.net.URLConnection;
import org.cacert.gigi.dbObjects.User;
}
public HttpURLConnection get(String path) throws IOException {
- return get(path, 0);
- }
-
- public HttpURLConnection get(String path, int formIndex) throws IOException {
- URLConnection uc = new URL("https://" + getServerName() + path).openConnection();
- uc.addRequestProperty("Cookie", cookie);
- return (HttpURLConnection) uc;
+ return get(cookie, path);
}
}