I currently have a problem with the content-type of xml resources.
For example, if I put a GoogleSiteMap in a resource and change the resource type to XML, the header gets a content-type “text/xml”. But an “application/xml” is needed to create a valid sitemap.
Is there a way to influence the content-type?
Strangely, on the different sites with the same system (MODx Revo 2.8.3), the content-type of xml is sometimes “text/xml” and sometimes “application/xml”. What is the reason for this?
CMS: MODx 2.8.3