code: public void open() throws IOException {
          mConnection.connect();
          mContentType = mConnection.getContentType();
          mResponseCode = mConnection.getResponseCode();
          mContentEncoding = mConnection.getContentEncoding();
      }
docs: Open connection to the resource.
  
  @throws IOException if an error occurs connecting to server.