Use getResponseTypeFromSystem() to get 'html' or 'console', what is really needed.