package org.cacert.gigi.testUtils;
import java.io.IOException;
+import java.net.HttpURLConnection;
import org.cacert.gigi.dbObjects.User;
throw new Error(e);
}
}
+
+ public HttpURLConnection post(String path, String query) throws IOException {
+ return post(path, query, 0);
+ }
+
+ public HttpURLConnection post(String path, String query, int formIndex) throws IOException {
+ return post(cookie, path, query, formIndex);
+ }
+
+ public HttpURLConnection get(String path) throws IOException {
+ return get(cookie, path);
+ }
+
}