improved handling of reponse content type and character encoding