acceptEncodingHeader does not include the "br" value

Hi

I am using Postman to submit the request and it proxies through Fiddler so that I can see the request and resopnse.

I then use Fiddler to create a HAR file.

In the Fiddler request window I can clearly see the Accept-Encoding contains the “br” value

User-Agent: PostmanRuntime/7.26.8
Accept: /
Postman-Token: 781bf7fc-5af7-45eb-9ab3-a8073a743222
Host: sts.accp.lic.co.nz
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Type: multipart/form-data; boundary=--------------------------038867526396447461108944
Content-Length: 663

Postman sends the Accept-Encoding with the “br” value

After i export the session to a HAR file using Fiddler and use the Gatling Recorder app to convert it to a Gatling performance test. The resulting code does not have the "br’ value in it.

import scala.concurrent.duration._

import io.gatling.core.Predef._
import io.gatling.http.Predef._
import io.gatling.jdbc.Predef._

class RecordedSimulation3 extends Simulation {

val httpProtocol = http
.baseUrl(“https://urltotestwith.stuff”)
.disableFollowRedirect
.inferHtmlResources()
.disableAutoReferer
.acceptHeader("/")
.acceptEncodingHeader(“gzip, deflate”)
.contentTypeHeader(“multipart/form-data; boundary=--------------------------038867526396447461108944”)
.userAgentHeader(“PostmanRuntime/7.26.8”)

val headers_0 = Map(“Postman-Token” → “781bf7fc-5af7-45eb-9ab3-a8073a743222”)

val scn = scenario(“RecordedSimulation3”)
.exec(http(“request_0”)
.post("/oauth/token")
.headers(headers_0)
.body(RawFileBody(“recorded/recordedsimulation3/0000_request.dat”)))

setUp(scn.inject(atOnceUsers(1))).protocols(httpProtocol)
}

Indeed, Gatling doesn’t currently support Brotli compression.
A contribution would be much appreciated.