Lucee cfhttp get error

trying to download a pdf from a web service using cfhttp get and keep getting the following error

Caused by: java.nio.charset.UnsupportedCharsetException: binary

I don’t have the problem in ACF, checked the headers using charlesproxy shows this…

Content-Disposition	attachment; filename="xyxyxyxyxyx.pdf"
Connection	close
Content-Type	application/pdf; charset=binary

I tried using cfhttparams for the url vars, getasbinary=“true” specifying a charset doesn’t seem to change the error.
Any ideas?

please always mention the software version :slight_smile:

sorry, Lucee 5.2.2.71… the current docker 52 version also gives the same error.