Send Binary Data In http body

Hi,

I’m using Gatling 3.5.0 release, is there any way to send pure binary data in http body instead of “UTF-8” or “Base64”. FYI, I’m trying to send content type as “application/grpc-web+proto”.

http("sample request)
.post(“https://my-server.com/auth”)
.headers(Map(“Content-type” → “application/grpc-web+proto”))
.body(ByteArrayBody(session => session(payload).as[Auth].toByteArray))

http("sample request)
.post(“https://my-server.com/auth”)
.headers(Map(“Content-type” → “application/grpc-web+proto”))
.body(StringBody(session => session(payload).as[Auth].toString))

Note: Auth is proto message