I am working with an older version of coldbox, but I perceive that the issue still exists in the current version. Event Caching fails to provide a content type if the request is not binary. I made two changes to my local copy of coldbox to resolve this issue. My changes were in Coldbox.cfm but I think that was renamed to Bootstrap.cfm.
The code below is a reference point. Note that the code calls writeOutput but does not set the content type.
What did you do to resolve this
I created a pull request with what my change might look like for the latest version of coldbox:
https://github.com/ColdBox/coldbox-platform/pull/272
Wow. Thank you so much. Very kind.
Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
On Mon, Jun 27, 2016 at 6:40 PM -0500, "Calvin Dallimore (JIRA)" <jira@ortussolutions.atlassian.net> wrote:
Message Title
Calvin Dallimore commented on
Re: Coldbox Event Cache discards the Content-Type when caching.
I created a pull request with what my change might look like for the latest version of coldbox:
https://github.com/ColdBox/coldbox-platform/pull/272
Add Comment
This message was sent by Atlassian JIRA (v1000.98.4#100004-sha1:567e5d0)