Does Pega Support Octet stream?

Problem Statement: We have a requirement to consume the octet source data from external system into PEGA Via Connect-REST.
We are getting this below error in Service .

" com.pega.pegarules.pub.services.InboundMappingException: Exception occurred while mapping incoming response to .response_POST "

Hence, We would like to know whether Pega supports Octet source ?

Currently we are using pega 7.x and want to know if Octet stream supported in Pega 8.x?

@SathyaM1 do you have an answer for this?

@ALEKHYAP5892 and @SathyaM1 I don’t believe there has been any change. A PRException is thrown if input is not a String.

Pega gets base64 encoded payload based on the response headers.

Pega doesn’t do any base64 encoding and this is done on container side.

If the content-type is application/octet-stream pega converts it to byte array ,read the message from http response and map it to clipboard .

Here is the latest documentation for Mapping the data for a GET response for a Connect REST rule