I’ve got an odd problem with CFMX server (at least version 7.0.1) recently — it looks like DateFormat function reset content type to
text/html despite use of cfcontent tag for defining different mime type before.
( read more on Broken content type )