code: public HttpResponse doHttpGet(String url, Map<String, Object> headers, boolean followRedirect) {
          HttpResponse response = new HttpResponse();
          doGet(url, response, headers, followRedirect);
          return response;
      }
docs: GETs content from URL.
  @param url url to get from.
  @param headers headers to add
  @return response.