Content-type contains Charset

I am having an odd issue

        var fileBytes = fileReadBinary( expandPath('.\file.png'));

        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);


I have tried so many variations but content-type always has “charset=UTF-8” appended. How do i stop this behaviour ?

Known issue, on the roadmap for 6 [LDEV-2995] - Lucee

1 Like