Skip to the content
Documentation

how to change default MIME type

No ratings yet

If you need to send XML or any other kind of data instead of XHTML
add these lines to your site.ini.append.php file
[HTTPHeaderSettings]
CustomHeader=enabled
HeaderList[]=Content-type
Content-type[]
# Content-type[/] means for the whole siteaccess
# text/xml must be changed into whatever you need
Content-type[/]=text/xml
I found this solution after spending hours to make a XML stream which was still regarded as HTML by my browser.