code: public InputStream responseAsInputStream() throws IOException {
          if (connection == null) {
              throw new IOException("Attempted to read response from server before calling execute" +
                      "()");
          }
          InputStream is = connection.getInputStream();
          return is;
      }
docs: <p>
  Return response body data from server as an InputStream. The InputStream must be closed
  after use to avoid leaking resources. Connection re-use may be improved if the entire stream
  has been read before closing.
  </p>
  <p>
  <b>Important:</b> you must call <code>execute()</code> before calling this method.
  </p>
  
  @return InputStream of response body data from server, if any
  @throws IOException if there was a problem reading data from the server