private void setResponseHeader(final HttpServletResponse response) {
    response.setHeader(ACCESS_CONTROL_ALLOW_METHODS, ALLOWED_METHODS);
    response.setHeader(ACCESS_CONTROL_ALLOW_ORIGIN, "*");
    response.setContentType(CONTENT_TYPE_TEXT);
  }
Get the path of the profiler script to be executed.
Before async-profiler 3.0, the script was named profiler.sh, and after 3.0 it's bin/asprof
@return
common/src/java/org/apache/hive/http/ProfileServlet.java