@Override
    public int getContentLength() {
      try {
        connect();
      }
      catch (IOException e) {
        return -1;
      }
      return effectiveEntry.getUncompressedSize();
    }
@Override
    public int getContentLength()