When is it recommended to use text/plain content type over text/html.
Imagine I'm developing an endpoint which is consumed in an async manner (ajax) and only returns a string. Am I supposed to use the text/plain content type in this case?
Is it safe to say that text/html should only be used if the response body contains HTML tags?