TextResponse is too generic (e.g. JSON endpoints). Need to handle XML and HTML.