Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

[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.