Accept-Encoding: gzip does not seem to be compressing query response

I am trying to test the gzip compression for queries. Using the v2 API, I add the “Accept-Encoding: gzip” per the documentation, however the response is not compressed. Regardless of if I use the “Accept-Encoding: gzip” or not, the response size is the same.

curl --location ‘http://localhost:8086/api/v2/query?orgID=INFLUX_ORG_ID
–header ‘Content-Type: application/vnd.flux’
–header ‘Accept: application/csv’
–header ‘Accept-Encoding: gzip’
–header ‘Authorization: Token INFLUX_TOKEN’
–data 'from(bucket: “INFLUX_BUCKET”) |> range(start: 2023-04-26T00:00:00.000Z, stop: 2023-04-28T23:59:59.999Z) |> filter(fn: (r) => r[ “pump_id”] == “63bedf53c8c25b8048a68723”) |> filter(fn: (r) => r[ “field_id”] == “329370” or r[ “field_id”] == “445685” or r[ “field_id”] == “329415” or r[ “field_id”] == “329425” or r[ “field_id”] == “329420” or r[ “field_id”] == “329365” or r[ “field_id”] == “329360”)|> aggregateWindow(every: 2s, fn: mean, createEmpty: true) |> fill(column: “_value”, usePrevious: true)|> map(fn: (r) => ({pump_id: r.pump_id,field_id: r.field_id,sensor_name: r.sensor_name,timestamp: r._time,value: r._value}))

Am I doing something wrong here?

Hello @Soljourner,
Based on the documentation:

I don’t see anything wrong there.
Do you mind filling an issue here?

Thank you!