[HTTPHeaderSettings]
Setting | Summary |
---|---|
HeaderList | Not documented yet. |
Svitlana Shatokhina (24/05/2006 7:30 am)
Svitlana Shatokhina (24/05/2006 7:30 am)
ez publish / technical manual / 3.9 / reference / configuration files / site.ini / [httpheadersettings]
Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.
Setting | Summary |
---|---|
HeaderList | Not documented yet. |
Svitlana Shatokhina (24/05/2006 7:30 am)
Svitlana Shatokhina (24/05/2006 7:30 am)
Comments
how to change default MIME type
Thursday 15 October 2009 9:52:49 am
Istvan Balogh
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.