tries to see if the cc server is xml or html and react as needed