+ return (HttpURLConnection) uc;
+ }
+
+ public static HttpURLConnection get(String cookie, String path) throws IOException {
+ URLConnection uc = new URL("https://" + getServerName() + path).openConnection();
+ uc.addRequestProperty("Cookie", cookie);
+ return (HttpURLConnection) uc;
+ }
+
+ public EmailAddress createVerifiedEmail(User u) throws InterruptedException, GigiApiException {
+ return createVerifiedEmail(u, createUniqueName() + "test@test.tld");