I have an issue related to content type. In my web application, I have different type of resources like css, images (.jpg, .gif, .png, etc.), htmls, xmls, etc.
I try access these contents by directly hitting the resource url. Irrespective of what content it is, every resource has same content-type header i.e. "text/html; charset=UTF-8" and hence image is getting parsed by browser so image is not visible instead it shows some character stream.
Kindly suggest how to fix this issue so that every content has proper content-type header.