code: public String getAsString() throws IOException {
      InputStream inputStream = isGzipped()
          ? new GZIPInputStream(getInputStream())
          : getInputStream();
      return Streams.readAll(inputStream, rawResponse.getCharset());
    }
docs: Returns the contents of the response as a String. Inflates the response if it is in one of the
  gzip formats.
  
  @throws IOException if unable to read the response contents