X-UA-Compatible Header
Generate a X-UA-Compatible HTTP header to discourage IE from using compatibility mode.
Description
This is a simple output extension that adds a X-UA-Compatible header to the HTTP response to discourage Internet Explorer from using compatibility mode and encourage the use of Chrome Frame if it is present.
The inspiration for this came from the html5boilerplate project, where index.html includes a corresponding meta element, but the recommendation is to send an HTTP header, using .htaccess to prevent edge case issues.
This extension provides an alternative in those situations where mod_header is not enabled, Apache is not being used or .htaccess or configuration files cannot be created or updated.
Although I have referred to h5bp's use of the X-UA-Compatible header, the header is not specific to HTML5 and this extension can be used in your XHTML based solutions, too.