I am having an odd issue
var fileBytes = fileReadBinary( expandPath('.\file.png'));
getPageContext().getResponse().reset();
cfheader(name="Content-Type", value="image/png");
cfheader(name="Content-Length", value=sizeOf(fileBytes));
cfheader(name="Cache-Control", value=url.cacheControl);
cfcontent(variable="#fileBytes#", reset=false);
return;
I have tried so many variations but content-type always has “charset=UTF-8” appended. How do i stop this behaviour ?