ibexa

Path

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.

[HTTPHeaderSettings]

SettingSummary
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

    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.