Garoid / opensocial-java-client

Automatically exported from code.google.com/p/opensocial-java-client
Apache License 2.0
0 stars 0 forks source link

support both HTTP and HTTPS #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The currently implementation does not allow HTTPS URL's:

  private HttpURLConnection getRequestConnection(URL url) throws IOException {
    if (!url.getProtocol().startsWith("http")) {
      throw new UnsupportedOperationException(
          "Unsupported scheme:" + url.getProtocol());
    }

    return (HttpURLConnection) url.openConnection();
  }

Are you planning to use HttpURLConnection for the foreseeable future?

Personally, I'd prefer if opensocial-java-client used Apache HttpClient 4

Original issue reported on code.google.com by sean%sea...@gtempaccount.com on 18 Nov 2008 at 2:52

GoogleCodeExporter commented 8 years ago

Original comment by apijason...@gtempaccount.com on 21 Feb 2010 at 8:06