docs: public static String getContentAsString(HttpResponse response) {
  
  		try {
  			if (response != null && response.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {
  
  				HttpEntity entity = response.getEntity();
  				Header contentEncoding = entity.getContentEncoding();
  				String encoding = contentEncoding != null ? contentEncoding.getValue() : UTF_8;
  				return ResourceUtils.getString(entity.getContent(), encoding);
  			}
  		}
  		catch (IOException e) {
  			log.error("Failed to read response: ", e.getMessage());
  		}
  
  		return null;
  	}